Just as an alternative, one cold post process the imae with imagemagick. The trick is to code the image with the colormap so that the transparent part will be white and:
run(`convert name.png -transparent white name.png`) On Tuesday, June 24, 2014 3:00:44 PM UTC+10, Yakir Gagnon wrote: > > How, if possible, can I imwrite a PNG image that has transparency in it? > I'm assuming something like: > > using Images > imwrite( I,"name.png",alpha=A) > > Thanks! >
