Page 1 of 1
how to create a completely transparent png?
Posted: 2011-03-16T21:05:18-07:00
by linjuming
how to create a completely transparent png?
convert -size 200x100
xc:transparent img/selected_overlay/selected_overlay.png (black color)
convert -size 200x100
xc:none img/selected_overlay/selected_overlay.png (black color)
convert -size 200x100 img/selected_overlay/selected_overlay.png (error)
Re: how to create a completely transparent png?
Posted: 2011-03-16T21:17:15-07:00
by anthony
there was a few versions that had problems in PNG output due to re-development work.
Upgrade to the very latest.
Re: how to create a completely transparent png?
Posted: 2011-03-16T21:26:56-07:00
by fmw42
this works just fine on IM 6.6.8.4 Q16 Mac OSX Tiger
convert -size 200x100 xc:none tmp.png
Re: how to create a completely transparent png?
Posted: 2011-03-16T21:34:03-07:00
by linjuming
thank you , so I will update the vesion ,hope i will help.
Re: how to create a completely transparent png?
Posted: 2011-03-16T21:40:06-07:00
by fmw42
try on your current version
convert -size 200x100 xc:"rgba(0,0,0,0)" PNG32:tmp.png
or
convert -size 200x100 xc:"rgba(0,0,0,0)" -type truecolormatte PNG32:tmp.png
see if that helps before upgrading.
Re: how to create a completely transparent png?
Posted: 2011-03-16T21:46:15-07:00
by linjuming
yes , it works
using "png32:" helps