On Tue, 17 Jan 2006 14:06:41, "Sean McBride" <email@hidden>
wrote:
> On 2006-01-17 12:10, Jeremy Sagan said:
>
>> I am using the same exact code that works fine on powerpc macs to
>> draw some color icons. PlotCIcon seems to clip the icon at the 32
>> pixel mark (as seen with pixie).
>
> I filed <rdar://4305612> against PlotCIcon, it wasn't working well for
> me either. They replied:
>
> "Your 'cicn' resource data is invalid. The iconPMap has pixelSize =
> cmpCount = cmpSize = 1, but pixelFormat = '1555'. A pixel format of
> 1555 means that the pixel size must be 2, not 1. If you change your
> 'cicn' to include valid data, it should work on both PowerPC and Intel."
Wow! 'cicn' can contain direct colors?! I haven't seen the big
announcement about this. Learn new every day.
> After some experimentation, I found:
> - if I create a brand new 'cicn' resource using ResEdit, all is well
> - if I create a brand new 'cicn' resource with Metrowerks Constructor, I
> end up with a resource corrupted in this way.
> - Resorcerer cannot create/edit 'cicn' resources
The classic Resorcerer can.
> Because of these facts, I am now using an 'icl8' resource.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden