How to convert PDF to image and set dither via command line

If you need to convert PDF to image, you can also set dither for the created image with the help of the application EEPDF PDF to Image Converter Command Line. This article aims at showing you how to fulfill the function mentioned in topic and you will get the information you need.

EEPDF PDF to Image Converter Command Line is a powerful command line application which is able to convert PDF documents to images (JPG, BMP, PNG, GIF, TIF, TGA, PCX, PNM, RAS, PBM, etc.) and set different parameters for the converted images with easy operations.

1. Please download EEPDF PDF to Image Converter Command Line and extract the ZIP file to local disk. There is an executable file named pdf2img.exe in the unzipped package and it is the called program.

2. For this application is a MS-DOS oriented one, please open the command prompt window in which you are able to input the commands. If you don’t know how to input the commands, please read the TXT document named readme.txt in the unzipped package or input the file path of pdf2img.exe into the command prompt window and hit Enter button on the keyboard to see the usage and options of this application.

3. Please follow the command template shown below to write your commands:

pdf2img [options] <PDF-file> <img-file>

In this template,

pdf2img: refers to the called program.

[options]: refers to set parameters.

<PDF-file>: refers to the file path of the input PDF file

<img-file>: refers to the file path of the output image

To convert PDF files to images and set dither, you need to use the option -dither <int>which enables or disables dithering when reduce the number of bits per pixel to nbit (1, 4 or 8).

The following example will help you understand better about the usage:

pdf2img.exe -dither 1 C:\in.pdf C:\out.\png

This example is to convert PDF to PNG image and enables dithering when reduce the number of bits per pixel to 1 bit.

According to the usage and options shown above, you can write your own commands. After writing the commands, please hit the Enter button on your keyboard to run the commands.

This is the end of this article and you can click the following button to download EEPDF PDF to Image Converter Command Line.

download EEPDF PDF to Image Converter Command Line

No votes yet.
Please wait...

Related Posts:

This entry was posted in PDF to Image Converter Command Line and tagged , . Bookmark the permalink.

Comments are closed.