How To Convert PDFs to Image Files

April 2018

PDF files are useful for sharing documents because they ensure that your desired formatting is preserved and they can be compressed to make the transfer process easier. If you are looking to convert a PDF document into an image file (i.e. JPEG, GIF, BMP, etc.), this article will introduce you to several free software that can do just that.

This article describes the procedure under Windows XP. However, it can easily be adapted to other operating systems, such as Windows 98, Windows 7, Windows 8/8.1, Windows 10, Linux, MacOS X, etc.


Using GIMP

Gimp is a free, cross platform software for creating and editing images. You will need to begin by downloading it, followed by GhostScript Viewer, a free PDF-reading software.

Adding System Variables

Next, you will need to add system variables. Go to Start > Settings > Control Panel > Performance and Maintenance > View basic information about your computer system. (Alternatively, you can go to the Advanced tab, then click Environment Variables.)

Click New, and enter GS_PROG under Variable Name and C:\Program Files\gs\gs8.14\bin\gswin32.exe under Variable Value. You should adopt the name of the variable value based on where GhostScript is saved on your computer. Click OK.

Click New, and enter GS_LIB under Variable Name and C:\Program Files\gs\gs8.14\lib under Variable Value. You should adapt the variable value based on the GhostScript installation folder and version number. Click OK.

Now, click OK in both of the windows left open.

Application

Open Gimp, then the PDF file by going to File > Open > Select File > OK.

Make any desired adjustments, then go to File > Save a copy.

Choose a location to save your file to, enter the desired file name, and add the necessary extension or choose the type of file from the list. Click OK.

N.B. If you have the following error message, make sure that you have installed Ghostscript, successfully created the new environment variables, and successfully entered the paths for these variables:

The opening of "C:\Documents and Settings\Owner\My Documents\ my_file.pdf" failed:
Unable to open "C:\Documents and Settings\Owner\My Documents\ my_file.pdf" for reading: Failed to load document from data (error 1) '


You should also know that right-clicking on a PDF and selecting Open with... > Gimp systematically leads to this error.

Using PDF Creator

Download and install PDF Creator, then open your desired PDF. Choose Print and print with PDF Creator. When PDF Creator offers to save the PDF, choose an image file type from the list, instead of PDF:


To modify your PDF's settings, go to Options > Formats and change the settings for each file format.

Using ImageMagick

ImageMagick is a utility for converting and manipulating images in command line. (Under Windows, you must download this version.)

Using this command, you can convert a PDF into multiple images:

convert myfile.pdf image%04d.tiff

Using Adobe Reader

Open the document with Adobe Reader, then click Edit > Take Snapshot.

While holding the right mouse button down, define the area of the snapshot. Upon releasing the right mouse button, the selected area will be copied to the clipboard,

Paste it in an image editor software (e.g. Paint, Gimp), and save the image in the format of your choice.

Using XnView

XnView includes a dedicated feature for converting PDF files to image formats.

Image: © Oleksandr Yuhlchek - Shutterstock.com
Published by jak58. Latest update on April 8, 2018 at 05:09 PM by owilson.
This document, titled "How To Convert PDFs to Image Files," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
How to translate an Adobe Acrobat PDF?
Split and merge Pdf file