Compress PDF using JPEG2000 technology by command line

   VeryDOC PDF Compressor can help you compress color scanned PDF down to the same size as black and white TIFF Group 4 images by JPEG2000 technology. JPEG2000 is an image compression standard and coding system, which was created with the intention of superseding their original discrete cosine transform-based JPEG standard with a newly designed, wavelet-based method. By this method, we can reduce 100 times of their original size while maintaining better image quality and text legibility. Now let us check the JPEG2000  compression effect from the following snapshot. Even if you compress image by 1:100 times, the quality is still good.

compress image by JPEG2000
     Compress image by JPE2000

In the following part, let us check how to use this software and this technology to compress PDF.

Step 1. Download PDF Compressor

  • This software is Windows command line application, when downloading finishes, there will be an zip file. Please unzip it and then check elements in it and find the executable file.
  • Before run the conversion, you’d better read the website and help document then you can know more about this software. 

Step 2. Compress PDF by JPEG2000 through command line

  • When run the conversion, please refer to the usage and examples.
  • Usage:       pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When you need to compress PDF by method JPEG2000, please refer to the following command line template. pdfcompressor.exe -jbig2 C:\in.pdf C:\out.pdf
    By this command line, you can compress PDF by JBIG2 arithmetic.
    pdfcompressor.exe -jbig2 -jpx C:\in.pdf C:\out.pdf
    By this command line, you can compress color and grayscale image streams with JPEG2000 arithmetic.
    Now let us check the related parameters:
  • -jbig2    :by this parameter, you can compress monochrome image streams with JBIG2 arithmetic
    -jpx       : by this parameter, you can compress color and grayscale image streams with JPEG2000 arithmetic
    -jpxquality <string>: when you need to set Quality for JPX Compression, from 0.0 to 100.0, default is 0.5

  • When you need to do batch compression, please refer to the following command line templates. You can either use wild character or use for mode.
     pdfcompressor.exe C:\in\*.pdf C:\out\*.pdf
    for %F in (D:\test\*.pdf) do "pdfcompressor.exe" "%F" "%~dpnF-out.pdf"
    for /r D:\test %F in (*.pdf) do "pdfcompressor.exe" "%F" "%~dpnF-out.pdf"
  • This software provides three strategies to compress PDF file.
    1. Subset fonts in PDF files. This method is good when you need to process text based PDF file.
    2. Compress image streams with JBIG2 and JPEG2000 technologies.
    3. Remove unused objects (a garbage collector for PDF files). This method is good when you need to create Web-friendly PDF files

If you need to know more about this software, please visit its homepage and website. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

One Reply to “Compress PDF using JPEG2000 technology by command line”

  1. Title: Compress PDF attachment before send it by email.

    Hi,

    I’m testing the software before buying it, I need compress PDF attachment size to 200kb and can not command the pack-

    Customer.
    —————————————–
    Thanks for your message, do you wish compress this PDF file to 200KB? if yes, we suggest you may download VeryDOC PDF Compressor Command Line software from following web page to try,

    http://www.verydoc.com/pdfcompressor.html
    http://www.verydoc.com/url/pdfcompressor.zip

    after you downloaded it, you can run following command line to compress this PDF file up to to 44KB, the output PDF file is small enough,

    pdfcompressor.exe -ci jpg -cidown -cidownres 90 -gi jpg -gidown -gidownres 90 -mi fax -midown -midownres 90 D:\downloads\01005100043993.PDF D:\downloads\01005100043993_out.PDF

    VeryDOC

    [Reply]

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!