kCGImageDestinationOrientation
The orientation of the image, specified as an EXIF value in the range 1 to 8.
Declaration
let kCGImageDestinationOrientation: CFStringDiscussion
The value of this key must be a CFNumber, and the number must be an integer in the range 1–8. For more information about the meaning of each number, see the orientation field in the EXIF specification.
This option is mutually exclusive with kCGImageDestinationMetadata.
See Also
Configuring the Image Behaviors
kCGImageDestinationLossyCompressionQualitykCGImageDestinationBackgroundColorkCGImageDestinationDateTimekCGImageDestinationEmbedThumbnailkCGImageDestinationImageMaxPixelSizekCGImageDestinationMetadatakCGImageDestinationMergeMetadatakCGImageDestinationOptimizeColorForSharingkCGImageDestinationPreserveGainMapkCGImageMetadataShouldExcludeGPSkCGImageMetadataShouldExcludeXMP