opensubscriber
   Find in this group all groups
 
Unknown more information…

c : carbon-dev@lists.apple.com 18 January 2006 • 6:25PM -0500

Re: Problems with PlotCIcon and Intel mac
by Mike Kluev

REPLY TO AUTHOR
 
REPLY TO GROUP




On Tue, 17 Jan 2006 14:06:41, "Sean McBride" <sean@rogu...>
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      (Carbon-dev@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.