FROM : David Duncan
DATE : Fri Apr 25 21:29:42 2008
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
david.<email_removed>
DATE : Fri Apr 25 21:29:42 2008
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
david.<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Carter R. Harrison | Apr 25, 16:51 | |
| Jean-Daniel Dupas | Apr 25, 17:57 | |
| Adam R. Maxwell | Apr 25, 18:10 | |
| David Duncan | Apr 25, 18:12 | |
| Carter R. Harrison | Apr 25, 18:25 | |
| Michael Vannorsdel | Apr 25, 20:16 | |
| Jean-Daniel Dupas | Apr 25, 20:45 | |
| David Duncan | Apr 25, 21:29 |






Cocoa mail archive

