Acrobat 9 Pro - change Image Compression/quality w / Javascript?

Hello

I have a script to the folder level that will merge PDF files using "insertPages" to add a list of PDF files to a new document. The file size is too large, and I noticed that if I go in the PDF Optimization manually and change the Image settings, so the quality of compression is 'low' for images in color and grayscale images, it brings the size of the file where I need it to be.

My question is, can I do this in my script somehow? I see nothing in the Javascript reference or Acrobat SDK to update the images in the document. I really want to automate this optimization in my script.

Has anyone ever done this before?

Thanks in advance!

Why not first to merge all files into a single PDF file and then crop and

optimize only one file?

Then you'll only process a single batch (to collect the paths of the files),

and a manuscript of level the record to combine the selected tracks, and then crop

and optimize the merged file.

Tags: Acrobat

Similar Questions

  • Adobe Acrobat 9 Pro: changes/changes appear on the screen but does not print

    I put a 'white box' with no outline on typed text, and then type new corrected text on the white box.  Sort of a virtual Whiteout.  Until today, it was fine.  Now when I'm going to print the page, see the new changes, but the original text is also printing the document look sloppy and unique of the cause.  What is going on?

    Looks like you are using the typewriter tool. This tool and many other markup tools are indeed annotations. Get them to print, you can select the DOCUMENT and MARKUP in the printer menu.

  • I changed my computer; in the former, I installed Adobe Acrobat 7 Pro. I installed the DVD this software in the new computer, the installed software apply for registration, and it is not possible online or by phone because I get an e

    I changed my computer; in the former, I installed Adobe Acrobat 7 Pro. I installed the DVD this software in the new computer, the installed software apply for registration, and it is not possible online or by phone because I get an error message: "Servicio de Activacion not available." I have download the acrobat 7.0 Pro software, following the instructions on the Adobe web site, and I download PPRO_2.0_Ret - NH_ES.zip, but the software has been Adobe Premier Pro, no. Adobe acrobat 7 Pro. How can I use my Adobe Acrobat 7.0 Pro?

    Download Adobe Acrobat 7 and Adobe Creative Suite 2

  • Adobe Acrobat 9 Pro that came with my Adobe Design Premium CS5 package is no more launches.  I did not any changes to my computer and I use Windows 7 Professional.  I tried to fix from my computer configuration panel.  I had a choice of modi

    Adobe Acrobat 9 Pro that came with my Adobe Design Premium CS5 package is no more launches.  I did not any changes to my computer and I use Windows 7 Professional.  I tried to fix and change of control panel of my computer and nothing was working.  Also, I tried to download the updates from Adobe by clicking on the update for Adobe Acrobat 9.5.5. The update seems to installs correctly, but the Adobe Acrobat 9 Pro cannot start.  I would like to know how to solve this problem.

    [Moved from the endorsement, general, all Adobe forums Lounge for a specific support by product - moderator forum]

    reset your preferences - https://forums.adobe.com/thread/1595848?start=0&tstart=0

  • Change search preferences in Acrobat 9 Pro-life do not OK at the bottom of the page?

    I want to change the preferences in search and can check their but cannot get to the bottom of the page to click on OK.

    Hi smilingbones,

    Please try to "Repair the facility" under the Help menu if you are using Windows.

    Is - this problem only occurs with the option to search or there is a problem with all the option in the preferences?

    Please let us know the exact dot of Acrobat 9 Pro and operating system installed on your system version.

    Kind regards

    Meenakshi

  • I had to change my computer (too slow), I'm trying to reinstall Adobe Acrobat 9 Pro. I have a serial number that is not an upgrade, but the system ask me a previus serial number which I don't have

    I had to change my computer (too slow), I'm trying to reinstall Adobe Acrobat 9 Pro. I have a serial number that is not an upgrade, but the system ask me a serial number previus wicht I did not

    Acrobat 9 pro serial number you use is an upgrade by also the installer would not be asked to select the previous (for example, acrobat 8) version.

    If you are allowed to choose acrobat 7 as the upgrade, you may be able to use the serial number, error: "Activation Server unavailable". CS2, Acrobat 7, pass a hearing 3

  • I have acrobat 9 pro and I do not see the text edit tool, or in any case to change the spelling of the words, I have version 9.0.0

    I have acrobat 9 pro and I see no way to change the spelling of the text.  I know the search for instructions to do this it is assumed to be a right pane, but I have no right pane and I don't see how to get one to appear.  Thanks for any help.

    In Acrobat 9 the tool is called the "Text editor" tool It is included in the "Advanced editing" toolbar, so just with the right button of the toolbar area and select it from the list of available tools. Or you can select: Tools > advanced editing > text editing tool

  • In Adobe Acrobat XI pro how can I change the units of measure in inches in centimeters?

    In Adobe Acrobat XI pro how can I change the unit of measurement to inches in centimeters?

    Edit > Preferences > units

  • I get this kind of error: U44M1l210 when I try to install programs with the exception of Lightroom and Acrobat reader Pro. Why do I need to change the installation of you accomplished?

    I get this kind of error: U44M1l210 when I try to install programs with the exception of Lightroom and Acrobat reader Pro. Why do I need to change the installation of you accomplished?

    Ford Hi,

    Please visit the Doc KB: error U44M1I210 | Install updates

    Kind regards

    Rave

  • Cannot open acrobat 9 pro after upgrade mac and change of hard disk

    I worked with the Adobe Creative Suite and Adobe Acrobat Prop 9 years without any problem. Recently, I had to put my mac OS to El Capitan and replace the hard drive. Even though I reinstalled all data and programs of a time machine back up the new disk, since this happened my pro reader adobe acrobat does not open. It freezes. I don't know it is a compatibility issue with El Capitan or a problem created from the new hard drive, but I would appreciate anyone help and advice on how to solve this problem.

    Thank you.

    There is not acrobat reader pro.  There is acrobat pro (costs money and you have a serial number) and adobe reader (free and no series number).

    assuming that you have acrobat pro, uninstall everything which is currently installed by using the adobe uninstaller program.

    then install properly using your serial number and the installation file.  also, you need allow unidentified publishers:

    http://Mac-how-to.WonderHowTo.com/how-to/open-third-party-apps-from-unidentified-Developer s-mac-os-x-0158095.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Acrobat 9 pro stopped showing the preview images suddenly

    I have acrobat 9 pro version 9.0.0.  Suddenly executives preview show "this file cannot be previewed." I got this program for years without problems. Searching the Web I found a lot of links but none that are able to help. I reinstalled the program from scratch, without positive results. I'm not a geek... I'm looking for a simple solution. Thank you

    Found solution...

    Interesting, but the confusion and weird.

    The other day, I uninstalled Adobe Acrobat Reader, thinking it was unnecessary, since I had Acrobat Pro. I can't find the link to the site which I warned of this problem because (of all things) my browsing history is corrupted (another story) BUT turns out I need Acrobat READER to read the previews even though my default program to open PDF files is Acrobat Pro... I find this confusing and I'm not sure why Adobe has designed it this way. It looks like a strange design problem if you ask me. Can someone contact Adobe for a response? Adobe, are you listening?

    Thank you. Dean

  • «Acrobat cannot start object/image editing application you specified...» "

    I recently uninstalled my Acrobat X Pro accidentally (experiment that went wrong), and after having a lot of trouble to re - install, I can't not to talk to the other Creative Suite applications more Photoshop and Illustrator for PDF editing. This is the dialog that is displayed when I try to change Image/Edit Object:

    Screen Shot 2016-09-27 at 9.46.28 PM.png

    I went into preferences and checked, and the paths to the applications are correct:

    Screen Shot 2016-09-27 at 9.55.51 PM.png

    but they are still getting and just dialogue reappears. So I don't know what to do from there.

    Any help would be greatly appreciated!

    Hi alxmntrvl

    My apologies for the late reply.

    It is a known issue and unfortunately there is no solution available now; However, the problem is fixed in later versions.

    Please see the document below:

    Error: "...". cannot start image editing application... » | Object editing tool | Adobe Acrobat X | Mac OS

    Thank you
    Supriya

  • Adobe first pro CS6 made low quality

    Hello.. I really need help if possible... I have work on adobe pro CS6 first edit after intense course of edition in the United... I live in Lebanon (Arab countries), so I have to use the PAL and the DOP is shooting digital and hull HD no film so im using as parameters HD sequence 25i PAL. When I change the image is really amazing, but the problem remains in when I made the image loses quality and it becomes grainy... Please help I do not know the solution!

    If you have no hardware MPE check use maximum render quality. This will increase the time for export.

    This export will give you two files, one for video and one for audio.

    Import them in again, do menu and burn.

  • When I print in Adobe Acrobat 9 Pro, it prints reversed...

    Only recently, when I try to print in Acrobat 9 Pro, it prints in back/reversed... like in a mirror.  It shows correct on the page, but when it is printed, it is reversed.  Must have changed a setting by accident, I can't find the question.  Maybe in Adobe Illustrator when I tried to change the meaning of an image.  It only prints like this in Acrobat... no other application.

    Hi hollym23446293,

    What are your impression on? Have you checked for a "Horizontal reversal" option (or similar) option in the print dialog box? Its location may vary by printer, but it's often in presentation settings.

    Please let us know how it goes.

    Best,

    Sara

  • Image Processor Pro and image converter eps files without pixelation them loading

    Hello. My name is Lucas. IM of the Argentina, who now lives in the Brazil. I have the problem that is in the title. IM new to do such things but to read much, I discovered that both scripts open files eps and because what they do is reasterized, then files stored looks preety bad.

    I know that there are some parameters to open the eps, e.g.:

    var epsOpenOptions = new EPSOpenOptions();
       epsOpenOptions.antiAlias = true;
       epsOpenOptions.mode = OpenDocumentMode.RGB;
       epsOpenOptions.resolution = 72;
       epsOpenOptions.constrainProportions = true;
    
    

    I must say that the search for a solution has found a script and changed to partially answer my needs. I said partially because I need the script to review the files and save the output files with the same structure. Here's the script that manage a folder at the same time:

    #target photoshop
    // Asks user for input folder
    var inputFolder = Folder.selectDialog("Select a folder to process");
    // Asks user for output folder
    var OutputFolder = Folder.selectDialog("Select a folder to save your Tiffs");
    if ( inputFolder != null && OutputFolder  != null ) {
       
       // Makes list of all files located in that folder
       var fileList = inputFolder.getFiles( "*.eps" );
       
       // Create a EPS option object [height & width are doc size]
       var epsOpenOptions = new EPSOpenOptions();
       epsOpenOptions.antiAlias = true;
       epsOpenOptions.mode = OpenDocumentMode.RGB;
       epsOpenOptions.resolution = 72;
       epsOpenOptions.constrainProportions = true;
       
        
       // Open each file in turn
       for (var i = 0; i < fileList.length; i++) {
          
          // open the file
          app.open( fileList[i], epsOpenOptions );
          
          var baseName = activeDocument.name.slice( 0,-4 );
          
          // put your code to 'save as' the file here
          var saveFile = new File ( OutputFolder + "/" + baseName + ".jpg" );
       SaveForWeb(saveFile,60); // set quality to suit
          
          
     function SaveForWeb(saveFile,jpegQuality) {
      var sfwOptions = new ExportOptionsSaveForWeb(); 
      sfwOptions.format = SaveDocumentType.JPEG; 
      sfwOptions.includeProfile = false; 
      sfwOptions.interlaced = 0; 
      sfwOptions.optimized = true; 
      sfwOptions.quality = jpegQuality;
     
     activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);
      
       };  
     activeDocument.close( SaveOptions.DONOTSAVECHANGES );  
          
          
       
       };
       
       };
    
     
     
     
    

    So, if you know a way change image processor pro or photo I will be very happy.

    Because I use only the script to handle eps files and save them as jpg (except for the web) I don't have a special button to activate this option. Keep things simple. Thank you!!

    You can tweak ImageProcessorPro.jsx to do the following editing.

    Search for code that looks like this:

    ImageProcessor.prototype.openDocument = function(file) {
      var self = this;
      var settings = self.settings;
      var mode = DialogModes.NO;
      var ext = file.strf("%e").toLowerCase();
      var isRaw = ImageProcessor.CAMERA_RAW_FILES.contains(ext);
    
      if (isRaw) {
      }
    

    and insert this code right after it:

      if (ext == "eps") {
        var epsOpenOptions = new EPSOpenOptions();
        epsOpenOptions.antiAlias = true;
        epsOpenOptions.mode = OpenDocumentMode.RGB;
        epsOpenOptions.resolution = 72;
        epsOpenOptions.constrainProportions = true;
        try {
          var doc = app.open(file, epsOpenOptions);
        } catch (e) {
          Error.runtimeError(9002, ZStrings.UnableToOpenErr);
        }
        return doc;
      }
    

    I have not tested at all, but it looks good from here.

Maybe you are looking for