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.

Updates:
- 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 'export_layers-0.6.py' and make executable if you're on linux.

AttachmentSize
export_layers-0.6.py.txt2.72 KB
GIMP Version: 
Code License: 

Comments

Nah - I just tested in XP and it's OK. Both windows and linux have a funkiness though: you have to show the location bar in the file chooser. When you are in the directory to export to, enter a period (.) in the location bar and *then* click open or press enter. But \ or / does not matter, nor do spaces in the path.

the script now prompts for a dir, so you don't have to put the "." in there... I used PF_FILE initially, but PF_DIRNAME is correct.

spam filter working yet? :)

Pages

Subscribe to Comments for "Export Layers as PNG"