CGImageDestinationAddImage(_:_:_:)
Adds an image to an image destination.
Declaration
func CGImageDestinationAddImage(_ idst: CGImageDestination, _ image: CGImage, _ properties: CFDictionary?)Parameters
- idst:
The image destination to modify.
- image:
The image to add.
- properties:
An optional dictionary that specifies the properties of the added image. Specify
NULLto omit any additional properties. For a list of possible values, see Image Properties and doc:CGImageDestination/Configuring-the-Image-Behaviors.
Discussion
The function logs an error if you add more images than what you specified when you created the image destination.