[Image-SIG] open, show, png, blank

Nelson Tong tongsnelson.ise at gmail.com
Thu Jan 26 23:28:50 CET 2012


I tried the following for a png file.

  outI = Image.open( fileOutPNGFile )
  outI.show();

The code run without error, but the image return via X-windows  on my
linux machine is a blank image, without visible graphic on it.

I am 100% positive that the image of fileOutPNGFile is not corrupted
because I am able to open it via the web-browser.

I tried the same code another to open  another png file which I use
PIL to draw and save as png.   The code above is able to open and show
this png file properly.

why dose this happen?


More information about the Image-SIG mailing list