Page 1 of 1

Unable to write ICO files with transparency

Posted: Mon Jul 09, 2012 8:42 am
by eyebex
Hi,

I can't get the output of ICO files with a transparent background color to work correctly with NConvert 0.61 on Mac OS X. I'm using this vector graphic for input. The command line I'm using is

Code: Select all

nconvert -out ico -o nconvert-git.ico -transparent 0 -colors 256 -resize 256 256 Git-Icon-1788C.eps
which gives me a white opaque background. However, if I just change the output format to PNG like this

Code: Select all

nconvert -out png -o nconvert-git.png -transparent 0 -colors 256 -resize 256 256 Git-Icon-1788C.eps
The output has palette-index based transparency. Any way to get this working for ICO output, too?

Thanks!

Re: Unable to write ICO files with transparency

Posted: Mon Jul 09, 2012 8:46 am
by eyebex
Ah, it seems the ICO file in fact has a transparent background, at least Gimp is showing it. But XnView MP does not show the transparent background for the ICO file, although it does for the PNG file, which is why I thought there would be no transparency.

Re: Unable to write ICO files with transparency

Posted: Tue Jul 10, 2012 12:29 pm
by xnview
eyebex wrote: The output has palette-index based transparency. Any way to get this working for ICO output, too?
Currently, you can only save ico 32bits to have transparency

Re: Unable to write ICO files with transparency

Posted: Tue Jul 10, 2012 12:37 pm
by eyebex
Thanks, are there plans to change that any time soon?