How to convert PDF to image (JPG, PNG, BMP, GIF, etc.) and trim image properly by command line

Do you want to convert PDF to image (JPG, PNG, BMP, GIF, etc.) and trim image properly? If so, EEPDF PDF to Image Converter Command Line will be a good assistant for you.

Although PDF (Portable Document Format) is widely used to share, exchange documents, you may need to convert your PDF format to common image formats where you don’t have a PDF viewer installed on your portable devices.

EEPDF PDF to Image Converter Command Line is a powerful yet smart application. It can convert PDF to JPG, BMP, PNG, GIF, TIFF, TGA, etc. image. It can also trim the created image to a specific size and set image quality, image resolution, page size, compression mode, etc. for the converted image.

Just by following the steps below, you can successfully convert PDF document to trimmed image.

Step 1. Download & unzip

Please download EEPDF PDF to Image Converter Command Line and unzip it to a folder on your computer disk. After that, you will be able to find an executable file named pdf2img.exe and you need to call it in the MS-DOS command prompt window to realize the conversion.

Step 2.Input commands

Please open the MS-DOS command prompt window and refer to the following command line template to input your commands:

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

The meanings of the corresponding parameters in the above template are explained as follows:

pdf2img refers to the path of the called program pdf2img.exe, which is used to call the program. [options] refers to the parameters provides by the program, which is used to control the conversion or make settings for the converted image. To know these parameters, you can read the readme.txt document which describes them in detail. <PDF-file> refers to the path of the input PDF file. <img-file> refers to the path of the output image file.

If you need to trim the converted image, you can use the parameter “-trimimage”.

For example,

D:\eepdf_pdf2image_cmd\pdf2img.exe -trimimage C:\ application.pdf C:\ application.jpg

The example is to convert a PDF document named application.pdf to application.jpg image and trim the JPG image.

When you finish the commands, please do not to hit the Enter button on the keyboard to run your commands.

Kind remember: For trial version, there will be some watermarks on the surface of the converted image. To eliminate this limitation, please buy the full version of 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.