Re: CGContextSetRGBFillColor() off by one?
Re: CGContextSetRGBFillColor() off by one?
- Subject: Re: CGContextSetRGBFillColor() off by one?
- From: "Ken Ferry" <email@hidden>
- Date: Thu, 29 May 2008 18:21:51 -0700
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:
>
> 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:
This email sent to email@hidden