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)
how to create a completely transparent png?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: how to create a completely transparent png?
there was a few versions that had problems in PNG output due to re-development work.
Upgrade to the very latest.
Upgrade to the very latest.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how to create a completely transparent png?
this works just fine on IM 6.6.8.4 Q16 Mac OSX Tiger
convert -size 200x100 xc:none tmp.png
convert -size 200x100 xc:none tmp.png
Re: how to create a completely transparent png?
thank you , so I will update the vesion ,hope i will help.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how to create a completely transparent png?
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.
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?
yes , it works
using "png32:" helps
using "png32:" helps