Page 1 of 1

PNG of black background image goes transparent!

Posted: 2011-01-24T21:28:24-07:00
by anthony
New (well recently found) PNG Bug, From todays SVG source download.

A Black background image, with only a few colors, when saved as PNG becomes transparent, even though no color in the image is transparent!

Code: Select all

convert -size 200x200 xc:black \
     -draw 'stroke red         line 50,50 50,150 line 50,150 150,150' \
     -draw 'fill lime          circle 110,100 80,100'     \
     -draw 'stroke dodgerblue  line 50,150 150,50'  \
     png:- | display -
The result is transparent.

Replacing png:- with png32:- comes out correct.

Re: PNG of black background image goes transparent!

Posted: 2011-01-25T14:54:15-07:00
by glennrp
Svn revision 3486 for IM-6.6.7-3 should be OK. ../glennrp