[Image-SIG] Saturation function?
Joao S. O. Bueno Calligaris
gwidion at mpc.com.br
Thu Apr 7 02:11:08 CEST 2005
On Wednesday 06 April 2005 18:44, meyer at mesw.de wrote:
> Can't you use the ImageEnhance module?
> I'm no expert in these things, but I believe that the "Color" value
> should be what is generally called "Saturation".
If that doesn't work, RGB <-> HSV conversion is more or less simple,
and I had worked it in python for a GIMP-Plugin.
My conversion is for working with palettes so it is a slow
implementation - you will be better if the above module works.
Otherwise, I can e -mail you my script. - a NumArray version of it
should be usable for raster data.
> kevin at cazabon.com schrieb am 06.04.2005, 23:15:20:
> > Does anyone have a simple saturation adjustment function for PIL?
> > I haven't been able to find anything through Google, other than a
> > VB script for converting between HSL and RGB. That could be
> > hacked into a saturation function, but would be VERY slow...
> > ANy suggestions would be most welcome, thanks!
> > Kevin.
> > _______________________________________________
> > Image-SIG maillist - Image-SIG at python.org
> > http://mail.python.org/mailman/listinfo/image-sig
> Image-SIG maillist - Image-SIG at python.org
More information about the Image-SIG