20

I have multiple layers open in GIMP. I would like to export a pdf that has each layer on a new page.

23

GIMP can't do this directly.

You need to use an intermediate file format.

Prerequisites

sudo apt-get install imagemagick

Steps

  1. Export from GIMP as an MNG animation: FileExportdocument.mng
  2. Convert to PDF on the terminal:

    convert -reverse document.mng document.pdf
    
  • 1
    Nice tweak for not having to reorder the layers from how they come in from a pdf in the import. – Max Williams Jun 27 '18 at 15:07
  • 4
    Gimp 2.10 can do this, see @mjoao 's answer – Barun Jan 1 at 12:08
18

Gimp (2.10) does it already. No extra software or plugins needed.

  1. Import all images/pages as layers.
  2. File > Export As > filename.pdf
  3. Select Layers as pages and Reverse the pages order
  4. Click the Export button.

That's all! Enjoy.

  • 1
    Not only does GIMP do this built in, but it's even clever enough that if you want to have multiple layers make up a page e.g. a base image and various additional text layers - you can do this using layer groups and then with the 'Layers as pages' option, GIMP will export each layer group as a separate page! – ec2011 Nov 6 at 1:53
  • 1
    The installed GIMP I have on Ubuntu 16.04 (GIMP 2.8.16) does not have this option. – user886869 Nov 21 at 0:04
  • GIMP 2.8.18 does not have this option – Alessandro Jacopson Nov 24 at 9:41
2

There is a Gimp plugin that does this nicely.

http://registry.gimp.org/node/27987

The install path and how to change the permissions are covered in this blog post: https://www.zyxware.com/articles/4438/how-to-export-multiple-layers-from-gimp-into-a-pdf-file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.