Lazarus I. Long wrote: >>Word iconType Bit 15 set to 1 = color icon, set to 0 = black & white >>Word iconSize INTEGER; number of bytes in icon image >>Word iconHeight INTEGER; height of icon in pixels >>Word iconWidth INTEGER; width of icon in pixels >>xBytes iconImage iconSize bytes long, each row of pixels is >> 1 + (icon width -1)/2 bytes wide >>xBytes iconMask iconSize bytes long, each row of pixels is >> 1 + (icon width -1)/2 bytes wide > > > does it say anything about the diff between black & white vs. color? > and how to interpret the color information? the above interpretation, > if taken alone, leaves 4 bits/pixel in BOTH color and B&W?? Assuming they work the same as Finder icons: there are no black & white icons, unlike the Mac the IIgs has always had colour. In icons used by the Finder the colour flag means "don't try to colourise this icon", e.g. in System 6 the folder icons appear yellow by default, but they're really black and white with a yellow colour applied, which can be changed by using the Finder's Color menu. If the colour flag is set the Finder won't allow the user the change the icon colour. -- Roger Johnstone, Invercargill, New Zealand Apple II - FutureCop:LAPD - iMac Game Wizard http://homepages.ihug.co.nz/~rojaws/ ________________________________________________________________________ "As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs." Maurice Wilkes discovers debugging, 1949