[Image-SIG] Using GIMP filters within a Python script
Matthew Nuzum
newz at bearfruit.org
Sat Nov 29 03:49:10 CET 2008
2008/11/27 Roy H. Han <rhh2109 at columbia.edu>:
> Is there a way to access the filters available in GIMP to process images
> within Python?
> I see that there is a way to write Python-based plugins for GIMP, but I
> would like to call GIMP filters from Python.
Hi, don't consider my answer definitive, but I believe there is. I was
looking at the inkscape export to xcf feature and it is apparently a
python script that controls gimp. Unfortunately it's not pure python,
it looks like it's a python script that launches gimp and feeds in
some of gimp's own scripting language (scheme?), but none the less
it's about what you're asking and the code is readily available.
http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/share/extensions/gimp_xcf.py?view=markup
--
Matthew Nuzum
newz2000 on freenode
More information about the Image-SIG
mailing list