Re: Bitmap data from CGImageRef
Re: Bitmap data from CGImageRef
- Subject: Re: Bitmap data from CGImageRef
- From: "Carter R. Harrison" <email@hidden>
- Date: Fri, 18 Apr 2008 14:54:16 -0400
Thanks Adam.. For some reason I cannot seem to find
CGDataProviderCopyData in the Apple docs. I can search for it at the
ADC, and it returns the page for CGDataProvider as the first hit, but
once you go to that page, there is absolutely no reference to
CGDataProviderCopyData. Strange.
On Apr 18, 2008, at 2:49 PM, Adam R. Maxwell wrote:
On Friday, April 18, 2008, at 11:40AM, "Adam R. Maxwell" <email@hidden
> wrote:
On Friday, April 18, 2008, at 11:32AM, "Carter R. Harrison" <email@hidden
> wrote:
Hey everybody,
Is it possible to obtain the raw bitmap data from a CGImageRef?
Thanks.
CGImageGetDataProvider and CGImageProviderCopyData should do what
you want.
That second call should of course be CGDataProviderCopyData... sorry.
--
adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden