How to convert PDF to TIFF image and compress TIFF via command line
In order to convert PDF to compressed TIFF image, you can have a try of the application EEPDF PDF to Image Converter Command Line which is designed for converting PDF to image (JPG, PNG, BMP, TIF, GIF, TGA, PCX, PNM, RAS, PBM, etc.). In addition, this application also supports to make different settings such as setting compression mode, resolution, page size, etc. for the converted image.
To know how to use this command line application to convert PDF to TIFF and compress TIFF image, please do as follows:
Firstly, please free download EEPDF PDF to Image Converter Command Line and extract the downloaded ZIP file to your computer disk. In the extracted package, there is an executable file named pdf2img.exe which is the called program of this application. In the unzipped package, there is a readme.txt document which explains the usage of this application.
If you still don’t know how to use it after reading the TXT document, please continue to read the following contents.
To convert PDF to FAX compatible TIFF image, please open the command prompt window and follow the command template shown below to write your own commands:
pdf2img.exe -compress <int> <PDF-file> <TIFF-file>
In the template,
pdf2img.exe: call the program
-compress <int>: set compression to TIFF format
-compress 1 : NONE compression
-compress 2 : CCITT modified Huffman RLE
-compress 3 : CCITT Group 3 fax encoding (1d)
-compress 4 : CCITT Group 4 fax encoding
-compress 5 : LZW compression
-compress 6 : OJPEG compression
-compress 7 : JPEG DCT compression
-compress 32773 : PACKBITS compression
-compress 32809: THUNDERSCAN compression
-compress 88880: 204x98 G4 ClassF TIFF
-compress 88881: 204x196 G4 ClassF TIFF
-compress 88882: 204x98 G3 ClassF TIFF
-compress 88883: 204x196 G3 ClassF TIFF
-compress 88884: CCITT Group 3 fax encoding (2d)
<PDF-file>: specify the source PDF file
<TIFF-file>: specify the target TIFF image
For example,
pdf2img.exe -compress 88881 C:\in.pdf C:\out.tif
This example is to convert PDF to 204x196 G4 ClassF TIFF image.
At last, please hit the Enter button on the keyboard to run the commands.
By following the above steps, you can easily master how to use this application.
This is the end of this article and you can you can download EEPDF PDF to Image Converter Command Line via clicking the following button.