Optimize PDF Save

Hi,
In our project, we are doing some image processing operations on images in PDF pages.
For that we will do following steps:
1.       1. Extract image from PDF page. (Getting image as uncompressed format)
2.       2. Do image processing operation.
3.       3. Flatten the processed image into PDF page.
While doing these steps, our PDF file size getting increased.
For that, we decided to do OptimizePDFSave Operation after step3 and confirmed that PDF file size is reduced.
Code used for Optimize PDF Save operation:
Here we are using JPGE compression type for images (“Standard” parameter).
Customer feels like JPGE compression is loss compression type.
Customer is expecting same image compression type available in PDF image content.
Please help us to resolve the issue.

What is the issue, exactly? JPEG is lossy, certainly. What was the original compression on the images? Why don't you just compress the images as you write them rather than later using the optimizer?
I'm afraid I don't understand your code. Why would a plug-in send a WM_CLOSE message to Acrobat?

Similar Messages

  • Optimize PDF to a specific maximum size

    I also posted this in the feature request forum.
    I would like to be able to optimize PDFs of various sizes to a size small enough to email. I would like the images to be automatically down sampled only as much as needed to reduce the final PDF to a specified size. Perhaps a script or plug-in exists?

    I've never heard of such a plug-in or script. It wouldn't be easy to develop because it would require explicit knowledge of all the things which can make a file large. Images would be easy to calculate but file overhead, and other things are much more difficult.
    Your best bet would to use the PDF Optimizer (Advanced > PDF Optimizer) in Acrobat 9, or File > Save As > Optimized PDF in Acrobat X. In the PDF Optimizer, click the Audit Space Usage button to see what takes up space in the PDF file.

  • Optimization PDF, make compatible with

    With Acrobat Pro, there is a command(order) (as we can make File, Register(Record) for example) in programming, to make the equivalent of: optimization PDF, Make compatible with and to choose a previous version of acrobat?

    Thank you for your answer.
    Related to my first question (compatibility with Acrobat Reader 5.0), how should I save the PDF created ????  Saving the PDF in Acrobat Pro 9.0 with standard save option makes the document not readable by Acrobat Reader 5.0.
    Should I save the document as PDF/A, PDF/X or any other subset ?????  If so, I'm not sure if they are included in the Standard.
    Thank you in advance.

  • Optimize PDF size

    woe, gloom and distress …  I created a document called pinForms.fm today, after having the installerUpdate run on my FM 10. It's part of a three-file book. When I try "save as .pdf" on the book, all files open, I get the always mysterious message "saving or printing this document … can occur … earlier than 6.0" and the instruction "Use Format > document > Optimize PDF size". And no .pdf output.
    Obediently running the command, on pinForms.fm since that's the file the message points the finger at, gets me
    Finished optimizing pinForms.fm and linked files for PDF File size.
    Processed 0 files.
    and no improvement
    A simple way to print this 30-page book without hassle would be much appreciated. I don't know what's going on, but I do know I have had more grief with FM 10 (at a client site since the start of November) than with 5.5, 6, 7 and 9 put together :-{

    Feels like I was just at the wrong place and the wrong time, at some unpredictable intersection of circumstances …
    Ignoring the message didn't help, just left me without any .pdf output. I felt the need for results, so I started from File > New (as detailed in another post) and finally managed to migrate my content into a doc file that didn't throw any errors. On the way there, I came across "Separation out of range" and "Inconsistent colour definition", which I overcame with MIF and file-by-file comparison.
    Arnis, you'd already helped me with the Creator vs real Distiller configuration
    Error7103, if I hit this annoyance again I'll experiment with printer settings and routes.
    N

  • Compress/Optimize Pdf using Adobe LiveCycle Pdf Generator in my c# console application

    Hello,
    I am creating an console application in C# that will optimize / compress pdf which contain high defination images. I have the pdf which have size above 500 MB i need to compress that kind of pdf files. I have seen the option to save as optimize pdf in Adobe professional software but i want to do that programmatically in my c# application.
    Now I have asked this question in Acrobat SDK Forums as well and there they have told me to check Adobe LiveCycle Software Here is the link for that : http://forums.adobe.com/message/5468065.
    Now If i want to go with Adobe Livecycle my question is.
    Can I call or use adobeLivecycle pdf optimizer libraries in my c# application.
    Let me know what i can do to integrate in my c# application

    The API call is here.
    http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/index.html
    optimizePDF
    public OptimizePDFResult optimizePDF(Document inputDocument, String fileTypeSettings, Document inSettingsDoc) throws ConversionException, InvalidParameterException, FileFormatNotSupportedException
    Optimizes the input PDF document by reducing its size. This method also converts the PDF document to the PDF version specified in the optimization parameters. This method supports the same optimization settings as Adobe Acrobat.  
    Parameters:
    inDoc - This mandatory parameter contains an instance of the Document whose content is to be optimized. For this object, it is recommended that you either use the appropriate Document constructor if you have access to the file, or that you use the com.adobe.idp.Document.setAttribute() method if you only have access to the stream.
    fileTypeSettings - Name of a file type settings instance that is defined on the LiveCycle server. The LiveCycle Administration Console window for Generate PDF lets you view the currently defined file type settings. It also lets you create custom file type settings. If the inSettingsDoc parameter specifies a non-NULL value, this parameter is ignored. If this parameter and the inSettingsDoc parameter are both null, this method uses the default file type settings instance that is defined on the LiveCycle server.
    inSettingsDoc - file2pdf-settings XML file that contains file type settings to use for optimization, including the file type settings used by this method. For information about this file, see the description for the createPDF2() method.
    Returns:
    An object that exposes a method for getting the optimized PDF document.
    Throws:
    ConversionException 
    InvalidParameterException 
    Parameters:
    inDoc - This mandatory parameter contains an instance of the Document whose content is to be optimized. For this object, it is recommended that you either use the appropriate Document constructor if you have access to the file, or that you use the com.adobe.idp.Document.setAttribute() method if you only have access to the stream.
    fileTypeSettings - Name of a file type settings instance that is defined on the LiveCycle server. The LiveCycle Administration Console window for Generate PDF lets you view the currently defined file type settings. It also lets you create custom file type settings. If the inSettingsDoc parameter specifies a non-NULL value, this parameter is ignored. If this parameter and the inSettingsDoc parameter are both null, this method uses the default file type settings instance that is defined on the LiveCycle server.
    inSettingsDoc - file2pdf-settings XML file that contains file type settings to use for optimization, including the file type settings used by this method. For information about this file, see the description for the createPDF2() method.
    Returns:
    An object that exposes a method for getting the optimized PDF document.
    Throws:
    ConversionException 
    InvalidParameterException 
    Parameters:
    inDoc - This mandatory parameter contains an instance of the Document whose content is to be optimized. For this object, it is recommended that you either use the appropriate Document constructor if you have access to the file, or that you use the com.adobe.idp.Document.setAttribute() method if you only have access to the stream.
    fileTypeSettings - Name of a file type settings instance that is defined on the LiveCycle server. The LiveCycle Administration Console window for Generate PDF lets you view the currently defined file type settings. It also lets you create custom file type settings. If the inSettingsDoc parameter specifies a non-NULL value, this parameter is ignored. If this parameter and the inSettingsDoc parameter are both null, this method uses the default file type settings instance that is defined on the LiveCycle server.
    inSettingsDoc - file2pdf-settings XML file that contains file type settings to use for optimization, including the file type settings used by this method. For information about this file, see the description for the createPDF2() method.
    Returns:
    An object that exposes a method for getting the optimized PDF document.
    Throws:
    ConversionException 
    InvalidParameterException  FileFormatNotSupportedException
    You should look here at some of the Web Service API calls for .Net. to see how to follow the framework of connecting via SOAP from .Net
    http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8- 7749.html

  • Help with Settins document in GeneratePDFService Optimize PDF

    How do you use the Settings document in the input section of the optimize pdf service operation? Using ES2.5

    When i try to optimize a PDF version 1.3 to 1.5 it can take awhile. I then create a package using this and other files. The DDX Assembler is throwing an error. It appears to be that it cannot locate the file on the server or the file is not done when the assembler calls iit.

  • How to save book in pdf tiff 300 dpi? with these steps file -print book- PDF- save PDF to folder as TIFF 300 dpi does not work

    how to save book in pdf tiff 300 dpi?
    with these steps file -print book- PDF- save PDF to folder as TIFF 300 dpi does not work

    Hi pissedadobeuser,
    Does this issue occur with any particular web page?
    Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
    Which Browser version, OS version and Acrobat version are you using?
    Regards,
    Rave

  • PDF saves as gray blur

    I just bought a new MacBook Pro. I have tried to save pdf(s) after a scan and in Photoshop. They all look like a gray blur. There is no hint of the design file. Help!

    Now it wont even open something I just downloaded.It I update it will it change my toolbar or anything on my pc?Thank you.Maureen
           From: sukritd15 <[email protected]>
    To: MAUREEN SMITH <[email protected]>
    Sent: Friday, February 20, 2015 2:24 AM
    Subject:  PDF saves as content of last file sent
    PDF saves as content of last file sent
    created by sukritd15 in Creating, Editing & Exporting PDFs - View the full discussionHi Maureen , Is it happening with all the word 365 doc? Which version of Acrobat are you using?If it is not the latest version ,try updating it to the latest version ,i.e Acrobat 11.0.10Launch Acrobat>Navigate to Help>Check for Updates I believe the PDF producer is Acrobat and not Microsoft. Please share the document with us so that we can check at our end. RegardsSukrit Dhingra If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7213183#7213183 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7213183#7213183 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Creating, Editing & Exporting PDFs by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Acrobat 9 - Use Optimize PDF from command-line or batch

    one can use the functionality optimize pdf from the command line or a batch script?
    thanks

    I found the solution. With the batch sequence i create the pdf optimization, and use the plug-in Autobatchtool (from the partner evermap) to run this batch from command-line. Thanks for you help

  • Use sdk to create com application to optimize pdf

    I've created a new plugin that enable me to optimize PDF using the method AVDocSaveOptimized,
    but this plugin has the extension .api
    Now
          I want to create a new COM application in c++ that make the same thing as the above plugin, but I'm facing a problem in using the SDK
    Is the SDK able to be used in third party application ?  (with info that the end user will has acrobat professional installed on his PC)
    If this is possible? please tell me the instructions/configurations that I should do to finish this thing
    I'm using Visual Studio 2008 to create my c++ application

    Your Plugin will need to expose it's on COM (or other IAC methods) and
    then your stand-alone application can call the plugin to do the work.

  • PDF saves as content of last file sent

    Everytime I save a word 365 doc into a pdf it turns out to be the contents of the last pdf with this name (but date in doc file name changed). I even restarted my pc & updated it, but it doesn't help.
    I have windows 8.1, Microsoft 365, internet explorer, and a pc.

    Now it wont even open something I just downloaded.It I update it will it change my toolbar or anything on my pc?Thank you.Maureen
           From: sukritd15 <[email protected]>
    To: MAUREEN SMITH <[email protected]>
    Sent: Friday, February 20, 2015 2:24 AM
    Subject:  PDF saves as content of last file sent
    PDF saves as content of last file sent
    created by sukritd15 in Creating, Editing & Exporting PDFs - View the full discussionHi Maureen , Is it happening with all the word 365 doc? Which version of Acrobat are you using?If it is not the latest version ,try updating it to the latest version ,i.e Acrobat 11.0.10Launch Acrobat>Navigate to Help>Check for Updates I believe the PDF producer is Acrobat and not Microsoft. Please share the document with us so that we can check at our end. RegardsSukrit Dhingra If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7213183#7213183 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7213183#7213183 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Creating, Editing & Exporting PDFs by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Share PDF Save Presets

    I'm looking for a simple way to share PDF save presets.  Ideally, some kind of package I can email to both Mac and PC users for use in both Acrobat Pro XI and Illustrator CS6.  Would likely be used mostly in saving .ai to PDFs in Illustrator.
    Manually describing save settings through email always leads to user-inaccuracy.  Would be great if there was a file type that, when opened, just plugs itself into relevant programs with PDF export or save options.
    Would really appreciate some help on this!

    I made a custom PDF preset called HQS_150ppi. It's been saved into the path I wrote about. Note the .joboptions extension:
    In InDesign CS6, it's shown in the Export > Adobe PDF (Print) dialog box or File > Adobe PDF Presets. In Illustrator CS6, it's shown in Save As > Adobe PDF (pdf) dialog box or Edit > Adobe PDF Presets:

  • Is there a way to have PDFs save to ICloud but accessible through IBooks?

    Is there a way to have PDFs save to ICloud but accessible through IBooks?

    The Cloud is for Apple-purchased items only. To get pdfs across multiple devices, you can email them, sync them through itunes or save to an app like Dropbox (a cloud-based service) and open in iBooks.

  • Safari Reader - Where's PDF save and Email?

    Where's the PDF save and Email options when using Reader ( in nav bar) in Safari?
    Used to be available when cursor hovered at bottom of page.

    Stacy_Mitchell wrote:
    This loss of this function really *****.  This was one of the best things about the previous version.  I could email articles in a perfect format.
    Still can, select Share->email, then in Mail, select:

  • PDF save settings for new Firefox reader

    I have seen discussions on how to change your own settings in Firefox so PDFs display correctly (Viewing PDF documents in Firefox 19+) however I am looking for a solution on how to save PDFs so they display correctly within the default new Firefox reader. Our PDFs are looking bad and I can't go into each clients browser settings and fix (http://www.cherrybekaertbenefits.com/wp-content/uploads/2014/07/ACA_Infographic_072114.pdf). Are their any settings within the Acrobat Distiller that will fix this without the viewer having to go into their own settings? My team uses Creative Cloud so any updates or setting solutions would be greatly appreciated! I will report back if I find anything on the Firefox forums but so far I've seen nothing.

    I believe I've found a solution. I had inquired on both the Mozilla and Adobe forums hoping someone out there was having a similar issue.
    Kudos to jscher2000 on Mozilla!!
    The Solution--
    'Optimize for Fast Web View' appears to be the issue.
    Note: When you uncheck this option the PDF becomes significantly larger but no more bad color. I've found if you also uncheck 'Preserve Illustrator Capabilities' and 'Create Acrobat Layers from Top-Level Layers' as well then the file size goes back down quite a bit.
    Optimize checked= 183k
    Optimize unchecked = 923k
    Optimize, Preserve and Layers unchecked = 566k

Maybe you are looking for