Page 1 of 1
0.51: No transparency with 1-bit Windows icons
Posted: Mon Jul 09, 2012 7:40 am
by eyebex
Hi,
the attached Windows icon is 1-bit (has 2 colors) and a palette, as well as palette-index-based boolean transparency for the background. Firefox and Gimp display the icon correctly, but Safari on Mac and XnView MP on Mac display it incorrectly. While Safari is missing to color for the icon but has transparency, XnView gets the logo color correctly but lacks the transparent background.
Re: 0.51: No transparency with 1-bit Windows icons
Posted: Mon Jul 09, 2012 8:07 am
by eyebex
The same issue with transparency seems to exist for 1-bit GIF images, too.
Re: 0.51: No transparency with 1-bit Windows icons
Posted: Fri Nov 23, 2012 5:15 am
by XnTriq
Re: 0.51: No transparency with 1-bit Windows icons
Posted: Fri Nov 23, 2012 8:23 am
by eyebex
eyebex wrote:the attached Windows icon is 1-bit (has 2 colors) and a palette, as well as palette-index-based boolean transparency
BTW, as a note to myself, I just learned that transparency in <= 8-bit icon files is not defined by declaring a specific color palette entry to be handled as transparent, but by an additional mask that comes with the icon. So using transparency in an icon does not reduce the number of available colors.
Re: 0.51: No transparency with 1-bit Windows icons
Posted: Fri Nov 30, 2012 12:30 am
by XnTriq
eyebex wrote:BTW, as a note to myself, I just learned that transparency in <= 8-bit icon files is not defined by declaring a specific color palette entry to be handled as transparent, but by an additional mask that comes with the icon. So using transparency in an icon does not reduce the number of available colors.
Thanks for bringing this (AND + XOR bitmask) to my attention, eyebex