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: CGContextSetRGBFillColor() off by one?



Well, if you use CGContextSetRGBFillColor as you said, then that sets
a device RGB colorspace up as the fill colorspace, and device
colorspaces don't do color matching.  Device means 'untagged'.  Which
is to say, I don't know, sounds strange.

Try asking on Apple's quartz-dev list.

-Ken

On Thu, May 29, 2008 at 2:17 PM, Mike Manzano
<email@hidden> wrote:
> I just tried running it on an old PowerBook, and I get the same results. Do
> you know for sure that ColorSync is in play here?
>
> Thanks,
>
> Mike
>
> On May 29, 2008, at 2:40 AM, Uli Kusterer wrote:
>
>> Am 29.05.2008 um 09:21 schrieb Mike Manzano:
>>>
>>> Regardless of what I set the red component to, the value in the actual
>>> image buffer is always off by one (it is always exactly one less). This does
>>> not seem to be true for the green and blue components.
>>>
>>> Any ideas why?
>>
>>
>> ColorSync hard at work? Have you tried switching to a different profile to
>> see whether the differences ... errr... differ?
>>
>> Cheers,
>> -- Uli Kusterer
>> "The Witnesses of TeachText are everywhere..."
>> http://www.zathras.de
>>
>>
>>
>>
>>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >CGContextSetRGBFillColor() off by one? (From: Mike Manzano <email@hidden>)
 >Re: CGContextSetRGBFillColor() off by one? (From: Uli Kusterer <email@hidden>)
 >Re: CGContextSetRGBFillColor() off by one? (From: Mike Manzano <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.