Reduce File Size functionality

Hi,
            I want to automate the Reduce File Size functionality available in acrobat in one of my plug-in application. This is because,
                      Earlier I used "PDDocSaveWithParams" to set the PDF file version as per user selection, but it was failing many times to set PDF Version to lower versions.  So later I did the following change.
            I used "AVDocSaveOptimized" to set the PDF to the user selected version(It may be to a lower or to a higher version).  It was working fine.  but later when it is used on acrobat Standard version. It is failing to do the same, as "PDF Optimizer" is abesent in Standard.
            I need to find an alternative to set the compatible PDF version, which works on both Standard and professional.   So if I am able to automate the Reduce File Size funciton from acrobat window, it will set the PDF version of the file to the user selection.  Can anybody tell me, how can i use it?  if it is through AVCommand, then which is that command.  
        If not, what alternative i can use to set the PDF version of the file to the user selection?
         Please help me,
your help would be highly appreciated.
palaksha Nyamathi

But the in that funciton
it is working fine on Acrobat Professional, but the same without any changes (and for the same set of PDF files),
it is crashing on Acrobat Standard.    I don't know what's going wrong here.  I have just added code part below,  Can you tell me, where it is creating problem and what's remedy for this?
    if(iAVersion == 0) iAVersion = kPDFOptRetainVersion;
    else if(iAVersion == 4) iAVersion = kPDFOptAcrobat5;
    else if(iAVersion == 5) iAVersion = kPDFOptAcrobat6;
    else if(iAVersion == 6) iAVersion = kPDFOptAcrobat7;
    PDFOptFlattenTransparencyOptions trnsOpts;
    trnsOpts = (struct _t_PDFOptFlattenTransparencyOptions*)malloc(sizeof(PDFOptFlattenTransparencyOptionsRec));
    trnsOpts->size = sizeof(PDFOptFlattenTransparencyOptionsRec);
    trnsOpts->pctRasterVectorBalance = 75;
    trnsOpts->ppiLineArtAndText = 300;
    trnsOpts->ppiGradientAndMesh = 150;
    trnsOpts->bConvertText = false;
    trnsOpts->bConvertStrokes =  true;
    trnsOpts->bClipComplexRegions  = true;
    trnsOpts->bPreserveOverprint = true;
    PDFOptImageOptionsRec imageRec;
    imageRec.size = sizeof(PDFOptImageOptionsRec);
    imageRec.enmDownsamplingAlgo = kPDFOptBicubic;
    imageRec.ppiDownsampleTo = 150;
    imageRec.ppiDownsampleAbove = 225;
    imageRec.enmCompressionAlgo = kPDFOptJpeg;               
    imageRec.enmCompressionQlty = kPDFOptMediumQlty; 
    imageRec.nTileSize = 1024;  
    PDFOptParamsRec optParam;
    optParam.size = sizeof(PDFOptParamsRec);
    //Changes for defect 11853. palaksha  
    optParam.asPathDest = ASFileSysCreatePathName( ASGetDefaultFileSys(), ASAtomFromString("Cstring"), OLE2A(csfile), NULL );
    optParam.fileSys = NULL;
    optParam.progMon = NULL;
    optParam.progMonClientData= NULL;
    optParam.enmAcrobatVersion =  iAVersion;
    optParam.imageOptionsColor = imageRec;                           
    optParam.imageOptionsGrayscale = imageRec;                     
    imageRec.ppiDownsampleTo = 300;
    imageRec.ppiDownsampleAbove = 450;
    imageRec.enmCompressionAlgo = kPDFOptCCITT4;
    optParam.imageOptionsMonochrome  = imageRec;          
    optParam.arrPDFontsToUnembed = NULL;       
    optParam.cPDFontsToUnembed =0;       
    optParam.pdfOptFlattenTransparencyOptions = trnsOpts;    
    optParam.bRemoveFormActions = false;
    optParam.bFlattenFormFields = false;        
    optParam.bRemoveJavascriptActions = false;
    optParam.bRemoveAlternateImages = true;
    optParam.bRemoveThumbnails = false;
    optParam.bRemoveDocumentTags = false;
    optParam.bSmoothenLines = false;       
    optParam.bMergeImageFragments = false;
    optParam.bRemovePrintSettings = true;
    optParam.bRemoveSrchIndex = false;
    optParam.bRemoveBookmarks = false;
    optParam.bRemoveCommentsAndWidgets = false;
    optParam.bRemoveDocInfoAndMetadata = false;
    optParam.bRemoveObjectData = false;
    optParam.bRemoveFileAttachments = false;
    optParam.bRemoveCrossRefs = false;
    optParam.bRemovePrivateData = false;
    optParam.bFlattenVisibleLayers = true;
    optParam.enmObjectCompression = kPDFOptPartialCompression;
    optParam.bUnencodedToFlate = false;
    optParam.bLZWToFlate = true;
    optParam.bRemoveInvalidBookmarks = false;
    optParam.bRemoveInvalidLinks  = false;
    optParam.bRemoveUnreferencedNamedDests = false;
    optParam.bLinearize = true;
    optParam.bSkipIrreducibleImages = true ;
       CString csFileName = "";
    bOptimize = true;
    AVDocSaveOptimized (avDoc, &optParam);
thanks for you help,
palaksha

Similar Messages

  • Reduce File Size Help

    Hi
    Would any experts out there know how to adjust the default setting of "Reduce File Size" function? I thought it was linked to the default Colorsync "Reduce File Size" Quartz Filter but I found that changing that filter only effect Save As PDF functions.
    I've been googling around without much luck.
    Thanks in advance.
    John

    Peter is right. If you want to reduce the size of a PDF you can use ColorSync to create a PDF setting that reduces the quality (and thusly the file size) of the pictures in your document. In fact, Apple's already done this for us - Pages has 3 PDF export choices. But this has nothing to do with the file size of the Pages document itself. Your best bet is to use photo editing software to crop and resize the photo before you put it into the Pages document.

  • Reduce File Size in Acrobat Pro (9.5.5) Corrupts Graphics in PDF Documents - shows up as black image

    Whenever I use Reduce File Size in Acrobat Pro (9.5.5), sometimes some of the images (not all) get corrupted and show up as a black image in the new document.
    Actually, the new reduced document looks okay when viewed in Acrobat, but the problem shows up when viewed in the Preview application on the Mac.
    I'm using Acrobat 9.5.5 with Mac OS 10.8.6
    I've tried re-importing the graphic into a new graphic box, which didn't work.  Thinking there may be some type of corruption with the actual graphic file, I then tried viewing the graphic, then taking a screenshot of it to create a completely new file, and then re-importing the new graphic file into the original document (created in Adobe In Design 5.0.4).  I then export the new document as a pdf, and brought it into Acrobat Pro to do the Reduce File Size.  Same thing happens - black box appears where the graphic was.
    I then tried using the Reduce File Size within the Save As function of the Preview application on the Mac - while the graphic remains intact, many of the other graphics in the document are "reduced" too much, to the point where the image quality is seriously degraded, and therefore not usable.
    Any other ideas?

    Hi Anoop,
    I can share the graphic file, but not the pdf which contains it (as it contains confidential information) - thanks!

  • Reducing file size produces a larger file (?)

    I have a 3.8mb pdf (created in Acrobat 9) that I'd like to reduce in size. It's text only (about 450 pages) and when I select "Reduce file size" Acrobat X goes through steps to optimize it for the web, and it comes out 5.1 mb. Not really much of a reduction in size if it's now a meg and a half larger than the original. Is there a better way to do this that I'm missing here?

    There are many things that could cause the issues. Under the Optimize option (or wherever it went in AAX) there is an audit function that allows you to see where the storage is going. You could compare before and after optimization to see what was happening. You say 450 pages is not much, but that all depends on what is there. If it is a lot of graphics, it could be huge. If you use a lot of different fonts, that can cause extra storage of all those fonts. So there are many variables and sometimes they do get bigger -- happened to me too. Unfortunately, when you are trying to make things smaller, you are often under the gun and don't have time to diddle around. Good luck.

  • Reduce file size with action wizard

    (German version below)
    Hey,
    I got two questions for action wizard in Acrobat XI Pro.
    I try to reduze file size of many PDFs using acion wizard. My tests worked fine but now I got some problems I try to explain now:
    1. I add a directory with many subdirectorys to my process list. Adobe now adds not only PDFs to my list, it also adds JPGs, DOCs etc. That means I have to delete every single file I not want to convert to PDF cause I only want to reduce file size of excisting PDFs. Is there any possibility to only add PDFs in my processing list?
    2. If a PDF is opend by any other user I get a information about it. This info I need to acknowledge every time it pops up cause my process interrups. Is there any possibility to ignore this info?
    I´m happy for any help i can get here. Thx.
    Regards
    (Sorry for bad english, it´s not my favorite language )
    Hallo Leute,
    ich benötige Hilfe beim Benutzen des Aktionsassistenten im Acrobat XI Pro.
    Ich versuche bei sehr vielen PDFs die Dateigröße zu verringern. Dazu habe ich mir eine Stapelverarbeitung per Aktionsassistent erstellt die bei meiner Testumgebung auch super funktioniert. Leider habe ich noch einige Probleme für die ich Hilfe benötige:
    1. Wenn ich einen Ordner mit sehr vielen Unterordnern und verschiedenen Inhalten einfüge möchte ich eigentlich nur die PDFs verarbeiten. Leider fügt Acrobat auch alle JPGs DOCs etc. hinzu. Ich muss also alle unerwünschten Dokumente herausfiltern, da auch keine sortierung vorhanden ist. Bei mehreren Tausend Dokumenten nicht leistbar. Gibt es hier eine Möglichkeit nur PDFs in die Stapelverabeitung aufzunehmen?
    2. Sollte die Verarbeitung mal laufen kommt es hin und wieder vor das die PDFs durch einen Benutzer geöffnet sind. Ich bekommen hier eine Meldung von Acrobat die ich erst bestätigen muss bevor es weiter geht. Da das Programm eigentlich über mehrer Tage/Wochen im Hintergrund laufen soll passt mir das gar nicht wenn ich alle Stunde überprüfen muss ob die Stapelverabeitung noch läuft.
    Ich hoffe es gibt jemanden der mir helfen kann. Ich bin über jede hilfreiche Antwort glücklich.
    Gruß

    For starters, let's refer to your original post: "this is indeed a serious problem and step back in functionality..."  This statement is a quite ridiculous assertion, unnecessarily dramatic, wholly inaccurate, and unhelpful.  Your statement "is this a joke" and "I know Acrobat tends to choke...etc..." is just pure gibberish and polemical.   It is quite easy to feed any application enough data to cause a performance failure, but one would really need to question one's motive and prudent use of one's time at this point - unless you are tasked with stress and load testing the software to determine minimum working requirements.  
    'Batch Processing' is, since Acrobat 9.x, dead and gone, Acrobat 11's approach is to aggregate many hitherto unavailable tools and commands and allow the user to create custom workflows.  More interactivity has been built into the process, which may or may not be desirable in each case depending on the workflow context and requirements.  But we have obviously moved away from the concept of processing a large number of files and towards a more targeted and effective processing of smaller sets of files.  The default Actions we deliver with Acrobat 11 reflect this intention.
    The feature "Batch Processing", which was an Acrobat feature from A5 (I believe) up to A9, previously had been hidden in Menu/Advanced/Document Processing/Batch Processing has been wholly replaced by a completely overhauled framework called Actions, now part of the Tools panel, and will be immediately accessible when Tools is called in the UI.
    Thus the obscured Batch Processing may have been a tool considered and used by an extremely small set of users to do exactly that, i.e., batch process a large number of files, but had been fairly inflexible, generally speaking, and buggy.  We were very well aware that if we were to overhaul the feature, add a considerably larger number of available tools and commands in Acrobat, provide wide possibilities for customization built towards specific workflows, and bring it to the forefront, we were going to sacrifice some of the aspects of batch processing a large number of files.  Not calling it "Batch Processing" anymore - because it isn't - may be an indication of this intention.
    Personally I have used and tested Batch Processing periodically during various Acrobat projects, but I don't remember encountering the "Reduce File Size" command - which is a subset of Save and file optimization -  to use within a batch sequence.  I may be wrong, and your screen shots would be welcome here.  In fact go ahead and construct a batch sequence that (1) uses 'Reduce File Size and (2) applies file type filters to it, and post it either here or to me privately.  I would be happy to be wrong.  But regardless, we are grateful for positive input that points out defects, allows us to improve the functionality of the product, providing the intended changes are reasonable, and that the communication of said issues remain respectful of this process and of the individuals we depend upon to implement these changes.  The tone of your response comes very close to rendering a proper consideration of this issue irrelevant.

  • Can using "Reduce File Size" in Acrobat Standard 9 effect DPI

    I'm sure the answer is no to this question, but before I wholeheartedly recommend this fantastic tool for use throughout our firm, I need to know if there is the possibility of a PDF's functional DPI being reduced in a scanned PDF by using Reduce File Size.  What I mean, I guess, by functional DPI, is the DPI in the PDF after running the tool.  Courts require 300 dpi on scanned PDFs, which is our standard, but once in a PDF it's impossible to determine (as far as I can tell) DPI in a file.  I notice no reduction in quality when using this tool, but want to make sure that we aren't circumventing court guidelines when using it to help reduce the size of files scanned at 300 dpi.

    Hi Anoop,
    I can share the graphic file, but not the pdf which contains it (as it contains confidential information) - thanks!

  • Reduce file size in Acrobat 7

    Is there a way to automatically reduce the file size in acrobat 7 so that it is compatible with version 4? I would like to be able to do this automatically instead of having to go to File=>Reduce file size and downsizing each doc individually.
    Any help would be greatly appreciated.

    I have the exact same problem and I'm running 7.1.0 on XP. I've tried the detect and repair and no dice.
    What's really annoying is that every 6 mos or so some functionality is 'lost' and I have to re-install Adobe and download/install the updates.
    I know there are newer versions of Acrobat, but frankly, although I use Acrobat frequently, it is simply to PDF files (nothing fancy, straight PDF) and getting a newer version doesn't seem warranted.
    My paranoid self is beginning to believe that Adobe has an 'expiry date' - i.e., it begins to self-destruct if you haven't upgraded in 2 years or more?
    Don't expect a reply, just venting.

  • Need help reducing file size.

    We're using Acrobat 8 Standard and are able to reduce an 8 MB file down to 7 MB but a fellow employee with Acrobat 9 Pro was able to reduce the size of the same file to 1.8 MB. We're doing the same function (Reduce File Size) in both apps so we're not sure why there's such a big difference in finished file sizes between the two programs. Is there a setting in Acrobat 8 Stnd that we're missing to be able to drop the file size much closer to what Acrobat 9 Pro can achieve?
    Any help would be greatly appreciated.
    Thank you!

    There are a lot of factors that can affect file size. PDF Optimize allows you more control over those options that does the Reduce File Size. With PDF Optimize, you can do an audit of the PDF to see what is taking up a lot of the size. Things that can affect the size include:
    1. Image resolution (PDF Optimize can reduce)
    2. Embedded fonts (subset fonts recommended to reduce size - leaving the fonts out is not a good idea)
    - Other?
    That may help some. When you compare how different machines or versions of Acrobat do the file reduction, you need to simply review all of the options that are being used. Sometimes, you can get a reduction by reprinting to a new PDF, but that is not a perfect process either.

  • Compress PDF vs. Reduced File Size Quartz Filter?

    Sometimes the PDFs I produce through the print function get pretty huge.
    In the PDF drop down on the print menu there is a compress PDF option that I sometimes use.
    Then someone said I should go to print, to the copies and pages, select "colour sinc" and on the Quartz Filter select "Reduce File Size" then hit the "save as pdf" on the pdf button.
    I have no idea what I just typed
    What's the difference between the two approaches and which would produce the best quality PDF at an manageable size?
    I just tried PDFing this page using the three options -- regular pdf, compressed pdf and that colour sink / quartz filter / reduce file size. Damned if the smallest file isn't the regular (at 76 kb) next is the reduced (92kb) and the largest file is the compressed (140kb). Maybe not a proper test but what the heck?
    Any thoughts?
    Thanks

    I believe that the same filter is applied no matter whether it is done through the Compress PDF button, which is an Automator action, or using ColorSync.
    If you would like to experiment with it, you can also apply it through the ColorSync Utility. If you copy the Reduce File Size filter, you can change the amount of reduction done. You can preview the results there, too.
    The filter only affects images, not text.

  • Where has 'reduce file size' gone?

    I've just signed up for Adobe PDF Pack at roughly £60 a year and it doesn't seem to include 'reduce file size' – a pretty basic function, no? Or am I looking in the wrong place...?
    Can't say i like this whole 'logging-in' before you can do anything either...

    Hi,
    Thank you for your subscription to PDF Pack.
    "Reduce PDF File feature is in Adobe Acrobat, and it does not come with Adobe Reader or PDF Pack.
    I am moving this posting to PDF Pack forum from Acrobat.com forum
    Hisami

  • Reduce File Size and Optimise PDF both increase file size

    Hi All
    I have exported a pdf (our college mag) at smallest file size from Indesign CS4 for online use. The problem is the resultant file size is a little under 19Mb. Using both or either Reduce File Size or Optimise functions simply result in an increase to 22Mb. The document is packed with images however I would have thought one or both of these processes would have helped reduce the file size to a more manageable download file size.
    A pdf is also produced to go to print so simply compressing all images prior to imcuding them in Indesign is not a preferable option - this would mean creating two separate Indesign documents, something which I would rather avoid if possible.
    Any help would be greatly appreciated as always.
    The file reside here if anyone cares to take a look http://www.ayrcoll.ac.uk/index.php?name=UpDownload&req=viewdownload&cid=11&orderby=dateD  It's the latest release (September 09)
    Thanks
    Colin

    You might want to do an audit of the PDF (button in PDF Optimizer) and try to figure out what the various parts are. It shows 58% is content streams (sorry, but I am not sure what that is), 26% is overhead, and only 12.7% is graphics. Since you are not storing bookmarks and such, you might want to try going back to ID and printing to the Adobe PDF printer for a comparison. It may be one technique is more efficient than the other.
    When I used the optimizer, the file did get larger. When I used Reduce File Size, it got slightly smaller. The key may be in figuring out what the various parts are from the audit. You might try copying one page of ID to a new document and play with various versions - different fonts (all were embedded and that is probably best), variations on graphics, etc. That is all I can suggest since I would simply be playing with different ways to produce the document and looking at what is causing the bloat. When the Images are only 12.7% and the fonts less than 1%, there is something going on to produce the size, and those 2 are typically the killers. I would mention tags that tend to bloat, but you do not have any (normally used for assessibility).
    You might want to try some of the preflight checks to find issues. I did the transparency check and got 170 instances in 22 pages. Flattening the page may help. There were some pages that seemed to be very bad. However, I did not get a big file size reduction. I did not get a lot of improvement by printing to a new PDF either. Certain pages seem to be part of the bloat problem. The print took a long time around pages 11 and 22.
    One troubleshooting technique would be extract pages to separate files and look at the details of each page to see what is causing the issue.
    Need to go. Good luck.

  • Reducing file size #2...Preview, Quartz Filter vs Adobe Pro Optimize

    Questions on reducing a pages to pdf file…I will post each question seperatly.
    2) I read that you can reduce file size of a pdf in preview with a quartz filter. I created my own filer and it worked as expected. But, I also have Adobe Acrobat Pro, with save as PDF Optimized. The pro seems to have much more capability than the quartz filters.
    Is one better that the other to use? The adobe optimize (standard settings) took it from 20 to 6 megs.
    THanks, Bob

    The Adobe Acrobat settings you chose are probably using .jpeg to reduce the file size.
    .jpegs are lossy. ie You lose detail and sharpness the more you compress the image.
    The Quartz filters are usually of very high quality, but they are a black box and you need to understand what the settings are in each one. Quartz filters are extremely powerful, fast and as I said usually high quality but I suggest you experiment and see if they meet your needs.
    Peter

  • Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the

    Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the pdf, I renamed it. tried to do it before I imported more pages. no go. the 16 mg pdf will normally reduce to 5 or 6

    Hi,
    Are you facing the issue with any pdf file?
    Please try updating Acrobat to 11.0.7 and check.
    You might also want to repair Acrobat and see.
    Regards,
    Rave

  • How do you reduce file size of a PDF if Save As doesnt work?

    I have been trying to reduce the size of a PDF, using the Save As > Optimized PDF method.
    I have also tried Save As > Reduced Size PDF.
    This is on a file made up of 20 pages of full page Jpegs. (These were generated by the script in Photoshop that generates Jpeg files from Layer Comps within the document.)
    If I use Reduced Size PDF, I get a greatly reduced file size but the image quality suffers greatly. (Lots of artifacts and blurryness)
    There are no options to choose the level of compression I want.
    If I use Optimized PDF method, I cant seem to reduce the file size no matter what I set the Jpeg compression to.
    Is there some way to cut the size of the file down but not lose so much image quality?
    Any suggestions?

    Part of the problem here is that the files that are produced when I run the script to output files from layer comps are very big.
    If I "save for web" for each layer comp, I wind up with way smaller Jpegs. Thus a much smaller PDF.
    So the question is: Can you make the script, Layer Comps to Files, create smaller more optimized Jpegs? (Like you get when you save for web)

  • How to set option in Scanning for Reduced File Size

    I am scanning from a Fujitsu 6230 scanner in Adobe Acrobat Standard 9.4.1. My scanning options are Color, 300DPI,Letter, High Quality, with Optimization options of Custom Settings of JPEG for Color/Grayscale. The scanned files are very large...1852KB per page. After using the Reduce File Size option and selecting Acrobat 8 and later, the file size is reduced to 187K. Is there a way to preset the Acrobat 8 or later setting....rather than having to do the two-step?
    Also, if I use Fujitsu's scanning interface I get far higher quality pdf's,  with small file sizes, and lower scanning resolution......but without the option to append to a pdf, an option I use frequently. Apparently their program for converting the scanned image to a pdf is more robust than Adobe's. Is there a way to use their image->pdf engine within Acrobat?

    Hi Boatseller,
    I will put this in simple way.
    Can we set properties in biztalk wcf_custom adaptor like 
    1. <security authenticationMode="UserNameOverTransport" 
    2. enableUnsecuredResponse="True" 
    or 
     includeTimestamp="false"
    3. <textMessageEncoding
    messageVersion="Soap11"/>
    <httpsTransport/>
    I am unable to find these properties in BizTalk wcf_custom adaptor properties. It will be great help if you could guide me in right direction . My problem is to receive response message into orchestration which is not having header. But the response is coming
    from web service. I saw that in fiddler.
    Also, If there is any steps to make these properties available in machine config, please share 
    Thanks in advance
    Vivek

Maybe you are looking for

  • My iPhone 4 doesn't appear on iMac and Macbook

    Hey guys:) This issue starts to really p**s my off! I plug in my iPhone to my iMac - it doesn't appear anywhere, I plug in my iPhone to my Macbook - it doesn't appear anywhere. Although it still charges but seems to be missing in both of my Apples! I

  • What is the use of Alternative forms in F110

    Hi all, Using Alternative forms in F110,we can print check with different layout instead of configuration form.but If I use that option,it is printing with configuration form as well as alternative form.How can I do this?

  • Arabic Language - issue as "???"

    Hi, We have installed Arabic language in our system with ECC 6.0 and OS as Windows 2003 Unicode version. While executing the transaction code ME22N, and while clicking the selection screen, i am getting the selection content as  "?????" question mark

  • Where can I find the Theme Editor for SP14?

    Where can I find the Theme Editor for SP14? (My WebDynpro application is a standalone app, and does not run in a portal). Thanks, Walter

  • American Heritage Dictionary version#

    I bought the American Heritage Dictionary and awhile back updated to version 2.0. The icon had a little red "2" next to it (which was a bit annoying, but that's another issue). Anyway, I had to restore my iPhone and when I did the dictionary installe