Hi Matthew, Joao, Frédéric, Thanks for writing back with your helpful responses. I'll look into the more complicated filters later, but for now I will use PIL's ImageFilter.FIND_EDGES and make some basic haar filters too.
I might consider using the GEGL library if it turns out to be better than PIL's Image.filter() method. RHH On Sat, Nov 29, 2008 at 2:51 AM, Frédéric <[EMAIL PROTECTED]>wrote: > 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 > _______________________________________________ > Image-SIG maillist - Image-SIG@python.org > http://mail.python.org/mailman/listinfo/image-sig >
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig