"James Hu" wrote:
> I have png file with mode "I", 16 bit,
> And I tried to open it with im=Image.open("output.png"), im.show()
> I got all white image.
> Don't why?
because all of the PNG file are larger than 255 ?
show doesn't support 16-bit images, so it clamps the values down to
an 8-bit ran
Hi !
Perhaps... ";" better than "," :
im=Image.open(r"C:\vodka3.png"); im.show()
Perhaps... more simplist :
im=Image.open(r"C:\vodka3.png").show()
Perhaps... other thing ?
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have png file with mode "I", 16 bit,
And I tried to open it with im=Image.open("output.png"), im.show()
I got all white image.
Don't why?
Can Image only support 'RGB' or 'RGBA' png files?
Thanks
James
--
http://mail.python.org/mailman/listinfo/python-list