Contents

kCGImageDestinationImageMaxPixelSize

The maximum width and height of the image, in pixels.

Declaration

let kCGImageDestinationImageMaxPixelSize: CFString

Discussion

The value of this key must be a CFNumber. If present, the destination rescales the image as needed to fit within the maximum width and height. If this key isn’t present, the destination retains the native image size.

See Also

Configuring the Image Behaviors