When you convert image to PDF document, you can use ImagePDF Image to PDF Compressor to compress the source image file to make created PDF smaller.
Image to PDF Compressor is a MS-DOS oriented command line application and after downloading the free trial version of it by clicking the following button, you don’t need to install it on your computer. Only extraction will be enough. Please in the unzipped file folder, the executable file img2pdfjb2.exe is the called program for the conversion.
Please open MS-DOS interface in which you are able to input the command line. The command line template you need to refer to is like the following one if you don’t know how to use this application:
img2pdfjb2 [options] <Image-file> [<PDF-file>]
If you want to compress image with color, you will need to use the options below:
-colorimg <int> : set compression method for color image
-colorimg 0: no change compression for color image file
-colorimg 1: compress color image file with JPEG arithmetic
-colorimg 2: compress color image file with JPEG2000 arithmetic
If you want to compress monochrome image, the following options will be used:
-bwimg <int> : set compression method for black and white image
-bwimg 0: no change compression for black and white image file
-bwimg 1: compress black and white image file with CCITT G4 arithmetic
-bwimg 2: compress black and white image file with JBIG2 arithmetic
Then please see some examples below if you cannot understand the command line usage and options above:
img2pdfjb2 –colorimg 1 C:\input.bmp C:\output.pdf
img2pdfjb2 –bwimg 2 C:\input.jpg C:\output.pdf
img2pdfjb2 –colorimg 0 –bwimg 2 C:\input.png C:\output.pdf
The first example is to compress color image file with JPEG arithmetic when converting BMP to PDF.
The second example is to compress black-and-white image file with JBIG2 arithmetic when converting JPG to PDF.
The third example is to compress black-and-white image with JBIG2 arithmetic and not to compress color image.
Image to PDF Compressor supports different kinds of input image formats like TIF, JPG, GIF, PNG, BMP, PSD, WMF, EMF, PDF, PCX, PIC, etc.If you are interested in this command line application, welcome free download Image to PDF Compressor.