Re: CGBitmapContextCreate fo Lab colorSpace
Re: CGBitmapContextCreate fo Lab colorSpace
- Subject: Re: CGBitmapContextCreate fo Lab colorSpace
- From: Steve Christensen <email@hidden>
- Date: Thu, 14 Jun 2007 09:04:22 -0700
On Jun 14, 2007, at 7:21 AM, Barry wrote:
Can anyone see what's wrong here ?
I always get "Context not created!".
[...]
colorSpace = CGColorSpaceCreateLab(whitePoint, blackPoint, range);
[...]
context = CGBitmapContextCreate (bitmapData,
pixelsWide,
pixelsHigh,
8,
bitmapBytesPerRow,
colorSpace,
kCGImageAlphaNone);
Check out <http://developer.apple.com/qa/qa2001/qa1037.html>. The
number of color spaces, bpp, etc., that CGBitmapContextCreate
supports is very limited. Lab is not one of the supported color spaces.
steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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