Skip navigation.
 
mlRe: CGContextSetRGBFillColor() off by one?
FROM : Mike Manzano
DATE : Thu May 29 23:17:06 2008

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
>
>
>
>
>

Related mailsAuthorDate
mlCGContextSetRGBFillColor() off by one? Mike Manzano May 29, 09:21
mlRe: CGContextSetRGBFillColor() off by one? Uli Kusterer May 29, 11:40
mlRe: CGContextSetRGBFillColor() off by one? Mike Manzano May 29, 23:17
mlRe: CGContextSetRGBFillColor() off by one? Ken Ferry May 30, 03:21
mlRe: CGContextSetRGBFillColor() off by one? Uli Kusterer May 30, 06:40
mlRe: CGContextSetRGBFillColor() off by one? Mike Manzano May 30, 07:16
mlRe: CGContextSetRGBFillColor() off by one? Alastair Houghton May 30, 18:52
mlRe: CGContextSetRGBFillColor() off by one? Ken Ferry May 30, 21:38
mlRe: CGContextSetRGBFillColor() off by one? Michael Vannorsdel May 31, 02:15
mlRe: CGContextSetRGBFillColor() off by one? Ken Ferry Jun 1, 07:01