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


Nahor,

I'm not sure I'm following your instructions correctly, but
changing resolutions does not seem to change the situation.

I've also placed both .ico file into same directory, browsed them
using Widows exlore, and x_test6.ico gets garbled but x_test8.ico
shows nothing. It's same even when browsed with small icon.
FYI, I've attached the screen-shot.

Thanks,
 Haro

From: Nahor <nahor at bravobrava.com>
Date: Fri, 12 Mar 2004 13:53:31 -0800
::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

Windows bitmap


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