Bitmap data from CGImageRef

2008-04-18 Thread Carter R. Harrison
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

Re: Bitmap data from CGImageRef

2008-04-18 Thread Adam R. Maxwell
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

Re: Bitmap data from CGImageRef

2008-04-18 Thread Adam R. Maxwell
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

Re: Bitmap data from CGImageRef

2008-04-18 Thread Carter R. Harrison
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.

Re: Bitmap data from CGImageRef

2008-04-18 Thread Scott Thompson
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

Re: Bitmap data from CGImageRef

2008-04-18 Thread Carter R. Harrison
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