How to Convert PDF to Image Using Gimp

This article will be showing you how to convert the pages of a PDF document to image files (PNG, JPEG, and others) using the GIMP tool in Linux.

GIMP is a free, open-source, fully-featured image editing tool, available for Windows, Linux, Mac OS X, and other platforms. It can export pages of PDF documents to various image formats, including PDF, JPEG, TIFF, BMP, and many others.

These instructions explain how to use GIMP to convert PDF for those that prefer to use a graphical application to accomplish the task. GIMP exports PDF pages one by one therefore requires a plugin to export all pages automatically.

First of all, if you don’t already have GIMP, you will need to install it using our following article:

On Fedora distribution, you can install GIMP, simply using the flatpak or snap as shown.

$ dnf install flatpak
$ flatpak install flathub org.gimp.GIMP
$ flatpak run org.gimp.GIMP


$ sudo dnf install snapd
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install gimp

Once installed follow the instructions below.

Convert PDF to Image using GIMP in Linux

First, we will start by converting one or a few PDF pages to PNG. This does not require adding any plugins to GIMP.

Click on the GIMP File menu, select Open, and choose the PDF file you want to convert. You will see an ‘Import from PDF’ dialog box. Set the Open pages option as Layers, and select Import.

Import from PDF in Gimp
Import from PDF in Gimp

In the GIMP layers dialog, scroll to the page you would like to convert from PDF to image. Drag the selected page with your mouse cursor to the top so it’s the first layer.

PDF View in GIMP
PDF View in GIMP

Next, click on the GIMP File menu, and select Export As. Now you can change the filename extension to the preferred image format by editing the name field at the top of the export dialog or click Select File (By Extension) at the bottom of the dialog.

Convert PDF to Image in GIMP
Convert PDF to Image in GIMP

You can also select where you wish to save your image on your computer in the Save in Folder section at the top of the dialog. Finally, click the Export button to save the file in the image format that you chose.

GIMP will pop up a dialog to make changes to your images such as compression level and image quality.

Image Compression Level in Gimp
Image Compression Level in Gimp

Hopefully, you can now convert your PDF docs to images in Linux using the GIMP application.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

5 thoughts on “How to Convert PDF to Image Using Gimp”

  1. I’ve been converting PDFs to JPGs for a while via GIMP, but I have been importing the PDFs as images, not as layers. Does it make any difference in the end result?

  2. I use this feature quite a lot, opened your article in case there is some useful new tip. Like in the case of a PDF with multiple pages, imported as layers, an easy way to export each layer as a separate image.

  3. Isn’t using ‘dnf‘ to install ‘snap‘ to install ‘GIMP‘ a roundabout way of doing things? Why not just use ‘dnf‘ to install GIMP? Or use ‘flatpak‘ which is native to Fedora/Red Hat?

    • @Dragonmouth,

      The dnf install will give you an older version of GIMP, that’s why I used snap, but as per your suggestion, I have included flatpak as well…


Leave a Reply to nicu Cancel reply

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.