PIL Image can't open png file with "I"?

J

James Hu

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
 
D

Do Re Mi chel La Si Do

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top