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.
| Attachment | Size |
|---|---|
| 2.72 KB |
Comments
Awesome script
Works perfect. Just one thing, how can I make it to save the png file with transparency?
I gave the latest plugin a
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.
Sweet! Thanks cr33dog.
Long time no see. Thanks for the update. :)
Good to be back. Though I
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 you get the prompt
When saving, (providing your layers have alpha channels) un-tick the save background color on the menu options.
works as advertised
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.
Not working on 2.6.7
I've tried using this in Gimp 2.6.7. and no options come up. There's not even a menu entry
i guess you use windows
..and that you do not have the gimp python module installed
and install it may be a bit complex see
http://www.registry.gimp.org/node/3916
in windows may be a problem
no problem
Pages