### Convert PDF to image (BMP, GIF, JPG, PNG, and TIFF) by command line

VeryPDF PDF to Image Converter Command Line is a handy powerful application designed for converting PDF to image such as BMP, GIF, JPG, PNG, TIFF, etc. It has different kinds of versions for the corresponding systems, including Windows, Linux and Mac OS X.

On this page, you will see how to use this command line application to make the conversion from PDF to image in your Windows system and what you need to do at first is to download VeryPDF PDF to Image Converter Command Line to your computer.

There is no installation steps requirement for using this command line application, just extract the ZIP file to some location and then you can use the executable file pdf2img.exe as the called program in MS DOS interface which is the conversion platform.

The following command line template is the command line usage of VeryPDF PDF to Image Converter Command Line and you can take it as the reference to write your own command line.

pdf2img.exe [options] <PDF-file> <Output-file>

The meaning of the template is the called program pdf2img.exe which will convert PDF file to output image file. So you can see the following command line example:

pdf2img.exe C:\in.pdf C:\out.bmp

In this example, pdf2img.exe converts the PDF file C:\in.pdf to BMP image C:\out.bmp.

With VeryPDF PDF to Image Converter Command Line, you can also set image size by the following example:

pdf2img.exe –w 1024 –h 800 C:\A.pdf C:\B.jpg

This example is used to convert PDF to JPG image. In the command line, the options –w and –h can be used to set the width and height of output JPG image. You can also refer to the following examples to set image width or height alone:

pdf2img.exe –h 600 D:\test.pdf D:\test.gif
pdf2img.exe –w 800 D:\aa.pdf D:\aa.png

For knowing more options and functions about this command line program, please browse the extracted txt file readme.txt in the package.

So with the usage and options above, you can easily and conveniently convert PDF to image file with VeryPDF PDF to Image Converter Command Line. Of course, it supports more output image formats than mentioned on this page and you can also use this application to realize more functions.

If you are interested in this command line application, please enter the homepage of VeryPDF PDF to Image Converter Command Line.

### More Products

#### For Linux

 Learn more about PDF to Image Converter Command Line See other products

$38.00 Convert files of Microsoft Word, PowerPoint, Excel, JPG, PNG, GIF, and HTML to PDF. Create PDF from printable documents. ##### VeryPDF PDF Editor$89.95

Create PDF, annotate PDF, fill PDF forms, edit PDF contents and hyperlinks, and convert PDF to image. It is a cost-effective PDF editor.
##### VeryPDF PDF to Word OCR Converter

\$59.95

Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF files with one click.