How to convert PDF to grayscale image via command line

With the help of EEPDF PDF to Image Converter Command Line, you can easily convert PDF to grayscale image via command line.

Grayscale image is an image that is composed exclusively of shades of gray. The grayscale intensity is stored as an 8-bit integer, giving 256 possible different shades of gray from black to white. Grayscale images are very common, in part because much of today’s display and image capture hardware can only support 8-bit images. In addition, images of this sort are entirely sufficient for many tasks and so there is no need to use more complicated and harder-to-process color images.

EEPDF PDF to Image Converter Command Line is a professional application. It can convert PDF to image (JPG, BMP, PNG, GIF, TIF, TGA, PCX, PNM, RAS, PBM, etc.) and make different settings for the converted image such as setting resolution, page size, compression mode, etc.

In the following contents, you will see how to convert PDF to grayscale image with this application.

Step 1. Download and unzip

Please download EEPDF PDF to Image Converter Command Line at first. Then, please unzip the ZIP file to the computer disk. You will see an executable file named as pdf2img.exe which is the called program of this application in MS-DOS interface.

Step 2. Open MS-DOS interface

For typing the commands to convert the PDF file to grayscale image, please open the command prompt window. To see how to use this application, please refer to the readme.txt document in the unzipped package.

Step 3. Type commands

According to the application usage, please follow the command template below to write your own one in the command prompt window:

pdf2img.exe -gray <PDF-file> <img-file >

In the above command template,

pdf2img.exe:call the program

-gray:generate a grayscale image file

<PDF-file>:specify the input PDF file

<img-file >:specify the output grayscale image

For example,

pdf2img.exe –gray C:\in.pdf C:\out.jpg

This example is to convert PDF in disk C: to grayscale JPG image and save the converted image in disk C: on your computer.

Step 4. Run the commands

To run the commands, please hit the Enter button on your keyboard.

By following the above steps, you can easily master how to use this application.

At last, if you are interested in this application, please download EEPDF PDF to Image Converter Command Line by clicking the following button.

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.