[Image-SIG] ImageStat silent convert

Fredrik Lundh fredrik at pythonware.com
Thu Mar 11 15:38:25 CET 2010


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