In this code all_same defaults to 0. The author says: "I find the BEST way to color/density correct an image is to first set the black/white point for each of the channels individually, so that you use the entire available dynamic range." While this is true, I must point out that you risk skewing the hue for very dark colors and very bright ones. I think setting all_same to 1 would be a more color conservative option.
cheers, -stefano On 9/7/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Chris Barker wrote: > > > 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. > > this one? > > http://aspn.activestate.com/ASPN/Mail/Message/image-sig/582729 > _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig