Re: Unfathomable CIImage - Really get crazy about it
Re: Unfathomable CIImage - Really get crazy about it
- Subject: Re: Unfathomable CIImage - Really get crazy about it
- From: Heinrich Giesen <email@hidden>
- Date: Sat, 3 Mar 2007 15:43:34 +0100
On 02.03.2007, at 10:59, "Cide.Vincent.S" wrote:
It is very simple to create a CIImage from a CGImage, but it seems
impossible (I hope I was wrong) to do the reverse thing.
Have a look at graphic contexts as is explained in:
http://www.cocoabuilder.com/archive/message/cocoa/2005/5/18/136311
If you have an NSBitmapImageRep you also have (can create) the image
data as jpeg, png etc. These are dataProviders for creating CGImages.
This way does not look like a short/direct way but it is not impossible
to create CGImages from CIImages.
Heinrich
--
Heinrich Giesen
email@hidden
_______________________________________________
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