Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with PlotCIcon and Intel mac



On 1/17/06 2:39 PM, Jeremy Sagan didst favor us with:

> Sean,
> 
> Thanks that is helpful.
> 
> On a side not I have discovered that the ppat endian swapper is
> broken if the bits per pixel in the ppat is greater than 8.

Out of curiosity, why are still using 'cicn' icons?

Larry


> Jeremy
> 
> On Jan 17, 2006, at 2:06 PM, Sean McBride 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."
>> 
>> 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
>> 
>> Because of these facts, I am now using an 'icl8' resource.

 _______________________________________________
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

References: 
 >Re: Problems with PlotCIcon and Intel mac (From: Jeremy Sagan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.