• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CGBitmapContextCreate fo Lab colorSpace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CGBitmapContextCreate fo Lab colorSpace (From: "Barry" <email@hidden>)

  • Prev by Date: Re: -[NSPredicate evaluateWithObject:] and NSArray
  • Next by Date: Re: Obtaining unpremultiplied bitmap from PNG file
  • Previous by thread: CGBitmapContextCreate fo Lab colorSpace
  • Next by thread: "Recursive" #imports
  • Index(es):
    • Date
    • Thread