Compress PDF with colorful images by professional methods

   There are many kinds of PDF files you may meet when you need to compress PDF files. If you compress PDF by the same method, the compression effect will not be good. Take compressing PDF with colorful image for example, VeryDOC PDF Compressor will give you professional method to process them. In the following part, I will show you how to compress PDF by command line.

Step 1. Download PDF Compressor Command Line

  • If you need to use this software on the single computer or laptop, please download the server version which either can be used on server or single computer.
  • When downloading finishes, there will be an zip file. Please extract it to some folder then call the executable file in MS Dos Windows.

Step 2. Compress PDF with colorful image by command line

  • When you use this software, please refer to the usage and example. And this software is Windows application, now it can not work under Mac and Linux version.
  • Usage:        pdfcompressor [options] <pdf-file> [<out-pdf>]
  • When you need to compress PDF with colorful image, there are some options available for you.
  • -ci <string>  : when you need to set Color Image Compression, there are three values: jpx, jpg, zip for you to choose.
    -cidown         : you can try to downsample color images.
    -cidownres <int>       : Set Color Image Resolution. By this parameter, you can try to compress colorful image by adjusting image resolution.
    -jpxquality <string>   : Set Quality for JPX Compression, from 0.0 to 100.0, default is 0.5
    -cidowntype <int>      :When you need to  downsample type for color images, there are four values for you to choose.

          -cidowntype 0: default
          -cidowntype 1: Subsample
          -cidowntype 2: Average
          -cidowntype 3: Bicubic
    Here are some examples:
    pdfcompressor.exe -jpx -jpxquality 1 C:\in.pdf C:\out.pdf
    By above command line, you can compress PDF by jpx method and specify Quality for JPX Compression as 1. The range of compression quality is from  0.0 to 100.0, default is 0.5. Please check the following two command line templates as examples.
    pdfcompressor.exe -jpx -jpxquality 0.5 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -jpx -jpxquality 10 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -ci jpx -mi jbig2 C:\in.pdf C:\out.pdf
    By the above command line, you can compress image by jpx and set Monochrome Image Compression values as jbig2l. Please check more examples in the following part.
    pdfcompressor.exe -ci jpx -gi jpx -mi jbig2 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -ci jpg -cidown -cidownres 50 -cidowntype 1 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -gi jpg -gidown -gidownres 50 -gidowntype 1 C:\in.pdf C:\out.pdf
    pdfcompressor.exe -mi fax -midown -midownres 50 -midowntype 1 C:\in.pdf C:\out.pdf

If you need to know more examples and usage, please check them in the readme.txt or on our website. And this software also provides many other methods of compress grey image PDF, or text based PDF file. 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

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!