[Image-SIG] ImageStat silent convert

Laura & Edward Cannon cannon.el at gmail.com
Fri Mar 12 05:01:08 CET 2010


getextrema() returns the correct values, seems like the problem is
just in the ImageStat code.
Edward
Unicorn School

On Thu, Mar 11, 2010 at 6:38 AM, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Sounds like a bug.  What does the getextrema() method return for the same image?
>
> </F>
>
> On Wed, Feb 17, 2010 at 6:57 AM, Laura & Edward Cannon
> <cannon.el at gmail.com> wrote:
>> while using PIL 1.16 recently, I noticed that ImageStat seems to do a
>> silent convert to mode L when given a mode F image. Looping though the
>> image manually using the im.load() access object gives me a different
>> maximum than ImageStat.Stat(im).extrema. Is this intentional? it
>> doesn't seem to be documented. Is it perhaps been fixed?
>> Edward
>> Unicorn School
>> _______________________________________________
>> Image-SIG maillist  -  Image-SIG at python.org
>> http://mail.python.org/mailman/listinfo/image-sig
>>
>


More information about the Image-SIG mailing list