[Image-SIG] Auto level with PIL?
Joao S. O. Bueno Calligaris
gwidion at mpc.com.br
Thu Sep 8 05:21:08 CEST 2005
On Wednesday 07 September 2005 19:59, Ben de Luca wrote:
> Could you point me at some information about the gimp scripting in
> python. The only python things I found were woefully out of date.
The cenonicakl reference is still the aparently out of date page at:
The way the plugins are built did not change. Basically, the steps are
make a python script, and save it in a gimp - plugins directory (you
can see which are these under the preferences dialog in the GIMP)
Include the module "gimpfu".
At the end of your script call both gimpfu.register function, as
documented in the above url, and gimpfu.main ().
A call for yor script will show up in the menus in the GIMP.
What is newere than these documentation is the GIMP API - but this one
can be consulted on ine with the Procedural Database Browser, in the
GIMP "Xtns" menu.
> On 08/09/2005, at 3:12 AM, Joao S. O. Bueno Calligaris wrote:
> > Hi,
> > If you can't find an autolevel to use with PIL, maybe yyou can
> > use the GIMP instead.
> > It is scriptable in python as well.
> > JS
> > -><-
> > On Wednesday 07 September 2005 14:00, Chris Barker wrote:
> >> Hi all,
> >> I need to do something like Photoshop's Auto Level to a bunch of
> >> images. Honestly, I have only a vague idea of what it does, but
> >> I saw that someone posted a script to do it here about 6 years
> >> ago, but I can't seem to get that code from the list archives.
> >> It's also possible that someone has improved upon it in all
> >> those years. Has anyone got any code for this?
> >> A pointer to a good description of what auto level is would be
> >> nice too.
> >> -thanks,
> >> -Chris
> > _______________________________________________
> > Image-SIG maillist - Image-SIG at python.org
> > http://mail.python.org/mailman/listinfo/image-sig
More information about the Image-SIG