Function

CGImageDestinationFinalize

Writes image data and properties to the data, URL, or data consumer associated with the image destination.

Declaration

bool CGImageDestinationFinalize(CGImageDestinationRef idst);

Parameters

idst

An image destination.

Return Value

Returns true if the image is successfully written; false otherwise.

Discussion

You must call this function or the output of the image destination will not be valid. After calling this function, no additional data can be added to the image destination.