• 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
Pixel Format of CIImage (documentation question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pixel Format of CIImage (documentation question)


  • Subject: Pixel Format of CIImage (documentation question)
  • From: Mark Williker <email@hidden>
  • Date: Sat, 26 Aug 2006 07:30:01 -0700

Hi all,

I don't know if this is the right list to post this question, it has to do with Core Image, but is really probably a simple (stupid) cocoa question.

I'm trying to use the method "+ imageWithCVImageBuffer:options:" to set the pixel format of a CIImage to RGBA (from ARGB_8, which core video supplies).

Documentation of this method reads:
+ (CIImage *)imageWithCVImageBuffer:(CVImageBufferRef)imageBuffer options:(NSDictionary *)dict


dict - A dictionary that contains options for creating an image object. You can supply such options as a pixel format and a color space (kCIImageColorSpace). The pixel format must be a CIFormat data type, either kCIFormatARGB8 or kCIFormatRGBAf.

The problem is that a CIFormat data type is an integer based constant. So the question is, what key, and what object would I supply to the dictionary to specify this option?



Thanks,
Mark






_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Pixel Format of CIImage (documentation question)
      • From: George Orthwein <email@hidden>
    • Re: Pixel Format of CIImage (documentation question)
      • From: Andrew Merenbach <email@hidden>
  • Prev by Date: Re: Detecting non-responsive app
  • Next by Date: Re: Pixel Format of CIImage (documentation question)
  • Previous by thread: Re: Re: How to calculate diagonal size of text?
  • Next by thread: Re: Pixel Format of CIImage (documentation question)
  • Index(es):
    • Date
    • Thread