You are here

Export Layers as PNG

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

File->Export Layers->as PNG

Prompts for a folder to save PNG files. Pretty straightforward. *Requires* python!

Should work with 2.4.x through 2.8.x. Will NOT work with some 2.7.x versions and the 2.8 RC1! 2.7 users should move on to current git and 2.8 RC users should upgrade to current 2.8.

- toggle to flatten (remove transparency).
- toggle to save only visible layers
- now saves as filename + layername and special characters are removed
- toggle to remove layer offsets
- toggle to zealous crop each PNG before saving
- handle layer groups (introduced in GIMP 2.8)

NOTE: the registry added a .txt extension - you need to rename to file to just '' and make executable if you're on linux.

AttachmentSize KB
GIMP Version: 
Code License: 


python does not show up in GIMP. My problem now is getting GIMP and Python working together.

Works perfect. Just one thing, how can I make it to save the png file with transparency?

I gave the latest plugin a toggle button. Set 'Flatten Image' to 'Yes' to remove alpha/transparency or 'No' (the default) to preserve alpha/transparency.

Long time no see. Thanks for the update. :)

Good to be back. Though I don't have much time for free projects these days :( Buy hey, this update was like two lines and I probably should've added that option right from the start.

And it's nice to see we have notifications now - I often forget to log in and check for new messages.

When saving, (providing your layers have alpha channels) un-tick the save background color on the menu options.

This works perfectly in GIMP 2.6.7 on Ubuntu 9.10. Just drag to your plug-ins folder (probably ~/.gimp-2.6/plug-ins/) and then at the command line run chmod +x ~/.gimp-2.6/plug-ins/*.py and restart GIMP.

I've tried using this in Gimp 2.6.7. and no options come up. There's not even a menu entry

..and that you do not have the gimp python module installed

and install it may be a bit complex see

in windows may be a problem mostly how to chose/wrote the path As use / instead then \ ..or viceversa and blank spaces in the path names, quite commune in Windows( As example C/Documents and Settings/ ) would be supported ?


Subscribe to Comments for "Export Layers as PNG"