PNG files produced by MATLAB that sets the "Transparency" parameter like so:
imwrite(cdata, 'foo.png', 'png','transparency',[0 0 0]);
The result is that depending on the application, some show the black colored ([0 0 0]) portions of the image as transparent while some do not.
Best Answer