Function

CGImageDestinationAddImage

Adds an image to an image destination.

Declaration

void CGImageDestinationAddImage(CGImageDestinationRef idst, CGImageRef image, CFDictionaryRef properties);

Parameters

idst

An image destination

image

The image to add.

properties

An optional dictionary that specifies the properties of the added image. The dictionary can contain any of the properties described in Destination Properties or the image properties described in CGImageProperties.

Discussion

The function logs an error if you add more images than what you specified when you created the image destination.

See Also

Adding Images

CGImageDestinationAddImageFromSource

Adds an image from an image source to an image destination.