Post Reply 

Help with python script

Aug 13, 2014, 03:10
Post: #1
Help with python script
Hi everyone.
Hoping someone can help me with the base of a python script for gimp 2.8.
I make icon packs for android and I have a base image consisting of 6-8 layers, most have a layer mask. I want to be able to hard code 3 colors, select an active layer (1-6), fill it with one of my 3 colors, and then toggle the visibility of other layers.
After I've done this I want to export the image as a PNG.

Most of my packs consist of 600+ imagesnwhere I do the exact same actions and in think a script would be a major time saver, I just have no clue how to write them. If someone could help with a base, I could probably go from there.

Thanks in advance. I've attached a sample for reference.


Attached File(s)
.xcf  apps_adobeair.xcf (Size: 32.67 KB / Downloads: 18)
Find all posts by this user
Quote this message in a reply
Aug 13, 2014, 11:59
Post: #2
RE: Help with python script
Thanks Ofnuts for the reply.
I will definitely look into imageMagick. Right now, I'd still prefer to go the python script route as I've put countless hours into the base icons I have already.
ImageMagick looks like a good route for the future for sure though. Thanks again!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Request for script chlebna 1 174 Sep 13, 2017 09:35
Last Post: ythgilb
  Request for script - Guillotine + Watermark sunslick 1 230 Sep 4, 2017 08:51
Last Post: ythgilb
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholom√§us 2 232 Aug 31, 2017 14:32
Last Post: Bertholomäus
  How to modify this script-fu? Zakary81 1 196 Aug 23, 2017 12:48
Last Post: paynekj
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 317 Jul 11, 2017 07:26
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS