By using the cross-platform program VeryPDF PDF to Image Converter Command Line, you can convert PDF to JPEG image and set image resolution in your Linux system with only some easy commands. The way for the conversion shown in the following contents is also appropriate for Windows and Mac OS X system.
VeryPDF PDF to Image Converter Command Line is able to convert PDF to different kinds of image, including TIFF, JPEG, GIF, PNG, BMP, PCX, TGA, PBM, PGM and PPM formats. For using the program, please download it and unzip it to your computer. The executable file pdf2img is the called program in the conversion from PDF to JPEG image. Then please follow the steps illustrated below:
1. If you don't know how to use VeryPDF PDF to Image Converter Command Line, please open the file readme.txt in the package folder to see its usage and options.
2. Write the commands in your Linux system by referring to the following usage:
./pdf2img [options] <PDF-file> <Output-file>
The commands can be like the following example:
./pdf2img test.pdf test.jpg
The commands mean that the called program pdf2img converts PDF file test.pdf to JPEG image test.jpg.
In order to set image resolution, please see the following examples:
./pdf2img –r 800 test.pdf test.jpg
With the help of the option –r 800, you can set the JPEG image resolution as 800x800 DPI.
./pdf2img –xres 800 –yres 600 test.pdf test.jpg
In the commands above, the options –xres 800 and –yres 600 are used to set X resolution and Y resolution for image as 800 and 600 DPI.
3. After writing the commands, please hit Enter button on the keyboard to run the conversion.
4. When the conversion from PDF to JPEG image is over, you can view the created image by image viewer installed on your Linux system computer.
By using the same way, you can also convert PDF to other image formats mentioned in above contents. For getting more information about this application, you are welcome to enter the homepage of VeryPDF PDF to Image Converter Command Line.