Enumeration

PHImageRequestOptionsResizeMode

Options for how to resize the requested image to fit a target size, used by the resizeMode property.

Declaration

typedef enum PHImageRequestOptionsResizeMode : NSInteger {
    ...
} PHImageRequestOptionsResizeMode;

Overview

Specify a targetSize parameter when you request an image with the requestImageForAsset:targetSize:contentMode:options:resultHandler: method.

Topics

Constants

PHImageRequestOptionsResizeModeNone

Photos does not resize the image asset.

PHImageRequestOptionsResizeModeFast

Photos efficiently resizes the image to a size similar to, or slightly larger than, the target size.

PHImageRequestOptionsResizeModeExact

Photos resizes the image to match the target size exactly.

See Also

Specifying Image Request Options

version

The version of the image to be requested.

PHImageRequestOptionsVersion

Options for requesting an image asset with or without adjustments, used by the version property.

deliveryMode

The requested image quality and delivery priority.

PHImageRequestOptionsDeliveryMode

Options for delivering requested image data, used by the deliveryMode property.

resizeMode

A mode that specifies how to resize the requested image.

normalizedCropRect

A rectangle for requesting a cropped version of the original image.