PNG of black background image goes transparent!
Posted: 2011-01-24T21:28:24-07:00
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!
The result is transparent.
Replacing png:- with png32:- comes out correct.
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 -
Replacing png:- with png32:- comes out correct.