Wednesday, September 16, 2009
GIMP plus Python = fun
My latest GIMP plug-in:
Palette to Image
http://registry.gimp.org/node/18629
I was looking for a quick way to dump a palette into an image - I had created a GIMP palette of Union inks (for screenprinting) and wanted a quick reference image for third parties. I could not find a built-in function, so this plugin was born: "Palette to Image".
The Python-GIMP bindings are quite good - anything found in Help->Procedure browser can be called from a plug-in. In Python, just take the procedure name, put pdb. on the front, and change dashes to underscores. For example in the browser 'gimp-image-new()' becomes 'pdb.gimp_image_new()'. Easy :)
My other python plug-ins:
Export Layers as PNG
http://registry.gimp.org/node/18440
Measure Active Path
http://registry.gimp.org/node/17235
Import Kuler (ASE) palettes
http://registry.gimp.org/node/10325
Find and Replace Text
http://registry.gimp.org/node/12212
Count tiles for a mosaic
http://registry.gimp.org/node/15080
Add Rule Of Thirds guides
http://registry.gimp.org/node/11567
Image courtesy of http://www.mahvin.com
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment