On Jul 30, 2008, at 9:50 AM, John Clayton wrote:
I'm wanting to create a CGImageRef from a quartz based CGContextRef, so that I can feed a CALayer with it. Is there a preferred way of doing this? I did think of creating a CGLayer, drawing into it's context, and then creating a CGImageRef via a CIContext createCGImage:inRect: call - is that recommended? Or is there a simpler way?
If you have a bitmap context, you can just call CGBitmapContextCopyImage() to get an image you can use from it. Can you explain your situation a bit more?
-- 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]