Re: Weird Problem With CGImage
Re: Weird Problem With CGImage
- Subject: Re: Weird Problem With CGImage
- From: David Duncan <email@hidden>
- Date: Fri, 25 Apr 2008 12:29:42 -0700
On Apr 25, 2008, at 11:45 AM, Jean-Daniel Dupas wrote:
I didn't find any documentation about CGDataProviderCopyData()
except this comment in the header:
/* Return a copy of the data specified by provider. Returns NULL if a
* complete copy of the data can't be obtained (for example, if the
* underlying data is too large to fit in memory). */
What is the expected output format of the data it returns ?
The output image data is the same format as the associated CGImageRef.
You can use the CGImageGet*() functions to determine the exact format
of the data returned.
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
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