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 PROTECTED]



_______________________________________________

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