On Apr 3, 2008, at 12:28 PM, Jonathan del Strother wrote:
If you have a CVPixelBufferRef, you can use the various functions defined for a CVPixelBuffer to access the base address, row bytes, width, height and
other attributes to create a CGImageRef directly from it via
CGImageCreate().

Even for yuv?  I thought CGImageCreate only handled variations on
rgba, but will give it another go...


Your right, I forgot that detail :). I'm not familiar but Quicktime might be able to convert it for you before you get it (which is likely the best thing in this case).

But that brings up the question of what are you trying to do? :)
--
David Duncan
Apple DTS Animation and Printing
[EMAIL PROTECTED]



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to