Transparency problem with ico conversion
Posted: 2007-12-18T08:12:04-07:00
When I convert certain .ico files (e.g.: http://www.reuters.com/resources/images/favicon.ico) to .gif or .jpg or .png using the Image Magick command line interface, the transparent background is converted to a black background. I've interrogated the .ico files and found the default colour for the transparency is indeed set to black, but I want to set the background to white.
I realise similar issues have been reported before, but I've gone right through the forums, here and elsewhere, and tried every solution recommended to overcome similar variations on this problem (-transparent-color, -background, -matte, -colorize, -fill, -opaque, -flatten, -swap, -compose, -composite) and had no success at all. I've even tried it on both Vista and Linux platforms.
So, can anyone demonstrate how to convert a .ico to gif/jpg/png using the command line interface so the transparency converts to white rather than black?
Many thanks.
I realise similar issues have been reported before, but I've gone right through the forums, here and elsewhere, and tried every solution recommended to overcome similar variations on this problem (-transparent-color, -background, -matte, -colorize, -fill, -opaque, -flatten, -swap, -compose, -composite) and had no success at all. I've even tried it on both Vista and Linux platforms.
So, can anyone demonstrate how to convert a .ico to gif/jpg/png using the command line interface so the transparency converts to white rather than black?
Many thanks.