[Image-SIG] Using GIMP filters within a Python script

Frédéric frederic.mantegazza at gbiloba.org
Sat Nov 29 08:51:38 CET 2008


On jeudi 27 novembre 2008, Roy H. Han wrote:

> 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.
> Maybe this is a naive question.
> I also see that there is an ImageFilter class in PIL, but GIMP has so
> many filters already written that I wondered whether I could use GIMP's
> filters right away.

Why not using the new GEGL lib, which Gimp will now use? There are already 
python binding, and GEGL already has some basic filtering features:

    http://www.gegl.org
    http://gegl.org/pygegl
    http://www.gegl.org/operations.html

-- 
    Frédéric

    http://www.gbiloba.org


More information about the Image-SIG mailing list