[Image-SIG] can't show png file with mode "I"

James Hu jhu at metrigenix.com
Fri Oct 7 23:52:51 CEST 2005


Hi,

 

I captured image from digital camera and saved it to png file with: 

 

Image.fromstring("I", datasize, origFrame.pBuffer, 'raw', 'I;16')

 

But when I open it  with PIL.Image

 

im=Image.open("*.png")

Im.show()

 

Got white image, 

What might be the problem?

This png file can be open with IrfanView, or using wx.Image.

 

Thanks in advance.

 

 

James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20051007/7536f892/attachment.html


More information about the Image-SIG mailing list