This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Garbled task-bar icon


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

image/icon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]