Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Export Images as PDFs in GIMP

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can export images as PDFs directly in GIMP. GIMP uses its built-in PDF export to save any image (or a multi-layer document as a multi-page PDF) without needing extra software. You just need your image open in GIMP and choose the PDF file type when exporting. Below is the exact step-by-step process, along with common mistakes, tips, and troubleshooting.

What You'll Need

  • GIMP installed (version 2.10 or later recommended; the steps are similar in older versions).
  • An image open in GIMP (any format: JPG, PNG, TIFF, etc.).
  • If you want a multi-page PDF, have each page as a separate layer in the same GIMP document.

Step-by-Step

  1. Open your image in GIMP. Use File > Open and select your image file. If you have multiple images to combine into one PDF, open them as layers in one document: File > Open as Layers and select all the images.
  2. Go to File > Export As. This opens the export dialog. (In GIMP 2.8 and earlier, it was File  Save As but the export option is now standard.)
  3. Choose the PDF file type. In the export dialog, click the Select File Type (or File Type) drop-down at the bottom. Scroll down and choose PDF image (or Portable Document Format). Alternatively, you can simply type a filename ending in .pdf in the Name field, and GIMP will automatically select the PDF format.
  4. Name your file and click Export. Pick a location, give the file a name, and press the Export button.
  5. Set PDF export options. A dialog titled Export Image as PDF will appear. Here you can choose:
    • Pages: If you have multiple layers, you can export each layer as a separate PDF page. Select Layers as pages to create a multi-page PDF, or All layers as one image to flatten them into a single page.
    • Image compression: Choose between None, LZW, Deflate, or JPEG. For photos, JPEG gives smaller files; for text or graphics, Deflate is lossless.
    • Resolution: Set the DPI (dots per inch). The default is usually 72, but for print you might want 300. This affects the physical size of the PDF when printed.
    • Color mode: Keep the default unless you have a specific need (e.g., grayscale for black-and-white documents).
  6. Click Export again. GIMP will now save your image as a PDF file in the location you chose.

Common Mistakes

  • Using “Save As” instead of “Export As.” In GIMP 2.10+, “Save As” only saves in GIMP’s native XCF format. To get a PDF, you must use Export As.
  • Not selecting the PDF file type. If you just type .pdf but don’t choose the file type, GIMP might still export as PDF (it does auto-detect), but it’s safer to manually select “PDF image” to avoid any confusion.
  • Forgetting to set “Layers as pages” for multi-page PDFs. If you have multiple layers and you leave the default “All layers as one image,” you’ll get a single-page PDF with all layers merged.
  • Using a very high resolution unnecessarily. Setting 600 DPI for a simple web graphic creates a huge PDF. Use 72 DPI for screen-only, 150–300 for print.
  • Not checking the “Apply” button in the export dialog. Some users click “Export” and then wonder why the PDF looks wrong—make sure you review the options before the final export.

Tips

  • If you want a multi-page PDF from separate image files, open them all as layers in one document (File > Open as Layers) and then export with “Layers as pages.”
  • For a PDF with clickable links or text, GIMP is not the best tool—use a word processor or a dedicated PDF editor. GIMP exports images, not editable text.
  • If you need to resize the image before exporting, use Image > Scale Image to set the exact pixel dimensions. The PDF will use those pixels.
  • To reduce file size, choose JPEG compression in the PDF export options and set the quality to around 80–90% for photos.
  • If you plan to print, set the resolution to 300 DPI in the export dialog. This ensures the PDF has the correct physical dimensions.

Troubleshooting

If the PDF export fails or the file is corrupt:

  1. Check that you have enough disk space. A large image can create a large PDF. Free up space if needed.
  2. Try a different file name. Avoid special characters like # or % in the filename, as they can cause issues on some systems.
  3. Export as a different format first. For example, export as PNG, then try to export that PNG as a PDF. This isolates whether the issue is with the original image.
  4. Update GIMP. Older versions may have bugs with PDF export. Check the official GIMP website for the latest version.
  5. If the PDF opens but looks wrong (e.g., colors are off), check the color profile in the export dialog. Try setting “Convert to sRGB” or “Embed ICC profile” to see if that fixes the appearance.

If you cannot find the “Export As” option:

In very old GIMP versions (2.8 and earlier), the menu was File > Save As. In those versions, choose “PDF” from the file type drop-down in the save dialog. If you have GIMP 2.10+, use Export As.

Frequently Asked Questions

Can I export multiple images as one PDF in GIMP?

Yes. Open all images as layers in one document (File > Open as Layers), then export as PDF and choose “Layers as pages.” Each layer becomes a separate page in the PDF.

Does GIMP export text as editable text in PDF?

No. GIMP exports everything as a raster image. If you need editable text in a PDF, use a vector program like Inkscape (which can also export PDF) or a word processor.

Why is my PDF file so large?

Because the image is stored as a bitmap. To reduce size, use JPEG compression in the export options and lower the resolution (DPI) if you don’t need high print quality.

Can I set the page size (like A4) in GIMP when exporting PDF?

GIMP uses the image’s pixel dimensions and the resolution (DPI) you set to determine the physical page size. To get an A4 page, set the image to 2480×3508 pixels at 300 DPI, or 595×842 pixels at 72 DPI.

What is the difference between “All layers as one image” and “Layers as pages”?

“All layers as one image” flattens all layers into a single page. “Layers as pages” puts each layer on its own page, creating a multi-page PDF.

Can I password-protect a PDF exported from GIMP?

No. GIMP does not have an option to add a password to a PDF. You would need to use a separate PDF editor (like Adobe Acrobat or a free tool like PDFsam) to add encryption after exporting.