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 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 CGImageProviderCopyData should do what you want.

That second call should of course be CGDataProviderCopyData...  sorry.

--
adam

_______________________________________________

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