Hey everybody,
Is it possible to obtain the raw bitmap data from a CGImageRef? Thanks.
Regards,
Carter
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
On Friday, April 18, 2008, at 11:32AM, Carter R. Harrison [EMAIL PROTECTED]
wrote:
Hey everybody,
Is it possible to obtain the raw bitmap data from a CGImageRef? Thanks.
CGImageGetDataProvider and CGImageProviderCopyData should do what you want.
--
adam
On Friday, April 18, 2008, at 11:40AM, Adam R. Maxwell [EMAIL PROTECTED]
wrote:
On Friday, April 18, 2008, at 11:32AM, Carter R. Harrison [EMAIL
PROTECTED] wrote:
Hey everybody,
Is it possible to obtain the raw bitmap data from a CGImageRef? Thanks.
CGImageGetDataProvider and
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 1:54 PM, Carter R. Harrison wrote:
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
Surprisingly, if you go to Xcode Documentation you can find the method
that Adam first mentioned, but it is not on the ADC website.
Thanks Scott.
On Apr 18, 2008, at 3:05 PM, Scott Thompson wrote:
On Apr 18, 2008, at 1:54 PM, Carter R. Harrison wrote:
Thanks Adam.. For some reason I