Using python-pillow-2.6.2-2.fc21.x86_64 on 16-bit grey png images, I've noticed that ImageStat.Stat.extrema reports incorrect information.
>>> from PIL import Image
>>> im = Image.open("myimg16b.png")
>>> im.mode
'I'
>>> from PIL import ImageStat
>>> ImageStat.Stat(im).extrema
[(0, 255)]
But
$ pngtopam myimg16b.png | pamsumm -max -brief
63490
Is this fixed in newer releases?
Sample image is here: myimg16b.png
Using python-pillow-2.6.2-2.fc21.x86_64 on 16-bit grey png images, I've noticed that ImageStat.Stat.extrema reports incorrect information.
But
Is this fixed in newer releases?
Sample image is here: myimg16b.png