Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Blank png: x.png does not set the alpha/transparency info correctly ! #848
I have finally understood why I was getting completely blank png images, as reported in #845 after trying to open the png in different programs: it seems that somehow the image is there, but the alpha channel value is set to 0 for all the pixels (according to gimp's color picker tool), which make the image seem completely transparent
Am I the only person having this problem ???
@doutriaux1 , could you check the properties of the saved png you generate?
When I run the following commands
I get the following completely blank/transparent image!
referenced this issue
Oct 27, 2014
Pfff, how am I supposed to guess that, it's not even in help(x.png) :/
I have tried the 4 different combinations of draw_white_background set to True or False and ignore_alpha set to True or False and
draw_white_background does not seem to have any effect and I have not been able to get an image on a transparent background
I'm using the 2.0.0 tag UV-CDAT