Image I/O
Read and write most image file formats, and access an image’s metadata.
Overview
The Image I/O framework allows applications to read and write most image file formats. This framework offers high efficiency, color management, and access to image metadata.
For more information, see Image I/O Programming Guide.
Topics
Image Management
XMP Metadata
CGImageMetadataCGMutableImageMetadataCGImageMetadataTagXMP Namespaces and PrefixeskCFErrorDomainCGImageMetadataCGImageMetadataErrors
Common Image Properties
Format-Specific Properties
CIFF Image PropertiesDNG Image PropertiesGIF Image PropertiesHEIC Image PropertiesJFIF Image PropertiesPNG Image PropertiesTGA Image PropertiesTIFF Image Properties8BIM Image Properties
Manufacturer-Specific Properties
Nikon Camera Dictionary KeysCanon Camera Dictionary KeyskCGImagePropertyMakerAppleDictionarykCGImagePropertyMakerMinoltaDictionarykCGImagePropertyMakerFujiDictionarykCGImagePropertyMakerOlympusDictionarykCGImagePropertyMakerPentaxDictionarykCGImagePropertyRawDictionary
Spatial Photos
Animations
CGAnimateImageAtURLWithBlock(_:_:_:)CGAnimateImageDataWithBlock(_:_:_:)CGImageSourceAnimationBlockkCGImageAnimationStartIndexkCGImageAnimationDelayTimekCGImageAnimationLoopCountCGImageAnimationStatus
Reference
Variables
kCGComputeHDRStatskCGImageDestinationEncodeAlternateColorSpacekCGImageDestinationEncodeBaseColorSpacekCGImageDestinationEncodeBaseIsSDRkCGImageDestinationEncodeBasePixelFormatRequestkCGImageDestinationEncodeGainMapPixelFormatRequestkCGImageDestinationEncodeGainMapSubsampleFactorkCGImageDestinationEncodeGenerateGainMapWithBaseImagekCGImageDestinationEncodeIsBaseImagekCGImageDestinationEncodeRequestkCGImageDestinationEncodeRequestOptionskCGImageDestinationEncodeToISOGainmapkCGImageDestinationEncodeToISOHDRkCGImageDestinationEncodeToSDRkCGImageDestinationEncodeTonemapModekCGImagePropertyASTCBlockSizekCGImagePropertyASTCBlockSize4x4kCGImagePropertyASTCBlockSize8x8kCGImagePropertyASTCEncoderkCGImagePropertyBCEncoderkCGImagePropertyBCFormatkCGImagePropertyEncoderkCGImagePropertyOpenEXRCompressionkCGImagePropertyPVREncoderkCGImageProviderPreferredTileHeightkCGImageProviderPreferredTileWidthkCGImageSourceGenerateImageSpecificLumaScaling