ImageIO reads, writes, animates, and inspects image data and metadata across many file formats. You decode and incrementally load images with CGImageSource, tracking progress through CGImageSourceStatus, and encode images to a destination format with CGImageDestination. For metadata, you read and build tag collections using CGImageMetadata and CGMutableImageMetadata, where each entry is a CGImageMetadataTag classified by CGImageMetadataType, and you drive animated image playback through CGImageAnimationStatus.
Reading Images 2
Decode and incrementally load images from a data source while tracking progress.
- ClCGImageSourceAn opaque type that you use to read image data from a URL, data object, or data consumer.
- EnCGImageSourceStatusThe set of status values for images and image sources.
Writing Images 1
Encode and write images to a destination in a chosen file format.
- ClCGImageDestinationAn opaque type that you use to write image data to a URL, data object, or data consumer.
Image Metadata 5
Read, build, and classify the metadata tags attached to an image.
- ClCGImageMetadataAn immutable object that contains the XMP metadata associated with an image.
- ClCGMutableImageMetadataAn opaque type for adding or modifying image metadata.
- ClCGImageMetadataTagAn immutable type that contains information about a single piece of image metadata.
- EnCGImageMetadataTypeConstants that indicate the XMP type for a metadata tag.
- EnCGImageMetadataErrorsConstants for errors that occur when getting or setting metadata information.
Animated Images 1
Drive playback of multi-frame, animated image sources.
- EnCGImageAnimationStatusConstants that indicate the result of animating an image sequence.
Enumerations 2
- EnCGImagePropertyOrientationA value describing the intended display orientation for an image.
- EnCGImagePropertyTGACompressionPossible values for ``kCGImagePropertyTGACompression``.
Type Aliases 2
- TyCGImageSourceAnimationBlockThe block to execute for each frame of an image animation.
- TyCGImageMetadataTagBlockThe block to execute when enumerating the tags of a metadata object.