Garbled task-bar icon

Nahor nahor@bravobrava.com
Fri Mar 12 21:53:00 GMT 2004


Harold L Hunt II wrote:
> I don't have any ideas.
> 
> Jehan --- is the order of the icon formats within the icon file 
> importatnt in some locales?

I have no idea. I would think not. But I would not be surprised if it 
uses a better icon (higher bit depth) if it can't find one that matches 
the screen bit depth. In this case 32b. Then, it doesn't expect the 
"unused" byte (used for the alpha channel now) to change value. Adding a 
24 bits icons might solve it because it's the best fit for a 16bits 
screen that doesn't know about alpha channel.

So I attached is a file with the 24b bit depth added.

I also inverted the bit depth. It used to be 32b then 256 colors then 
16. I moved the 16 first, then 256, then 24b, then 32b. That way, if 
Windows select the first icon that is "good enough" for the screen 
resolution, it will take the 24b first.

Last, I used to have the high resolution first (32x32) and the low last 
(16x16). FireFox/Thunderbird have the low first, so I changed that too.

In the end, I used to have:
	size then bit depth, from best to worst
	(32x32x32, 32x32x8, 32x32x4, 24x24x32, 24x24x8, ..., 16x16x4)

Now, in the attached file, I have:
	bit depth then size, from worst to best
	(16x16x4, 24x24x4, 32x32x4, 16x16x8, 24x24x8, ..., 32x32x32)

...crossing fingers...


	Nahor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x_test8.ico
Type: image/x-icon
Size: 20870 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20040312/e519adad/attachment.bin>


More information about the Cygwin-xfree mailing list