Skip navigation.
 
mlRe: Weird Problem With CGImage
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>

Related mailsAuthorDate
mlWeird Problem With CGImage Carter R. Harrison Apr 25, 16:51
mlRe: Weird Problem With CGImage Jean-Daniel Dupas Apr 25, 17:57
mlRe: Weird Problem With CGImage Adam R. Maxwell Apr 25, 18:10
mlRe: Weird Problem With CGImage David Duncan Apr 25, 18:12
mlRe: Weird Problem With CGImage Carter R. Harrison Apr 25, 18:25
mlRe: Weird Problem With CGImage Michael Vannorsdel Apr 25, 20:16
mlRe: Weird Problem With CGImage Jean-Daniel Dupas Apr 25, 20:45
mlRe: Weird Problem With CGImage David Duncan Apr 25, 21:29