Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHImageRequestOptionsMBS class.

Resize Mode

PHImageRequestOptionsMBS.ResizeModeExact = 2

Type Topic Plugin Version
const Photos MBS Mac64bit Plugin 20.2
One of the constants for how to resize the requested image to fit a target size, used by the resizeMode property.

Photos resizes the image to match the target size exactly.
Resizing to exactly match a target size is less efficient than using the fast resizing option.
You must choose this option if you use the normalizedCropRect property to request a cropped image.

PHImageRequestOptionsMBS.ResizeModeFast = 1

Type Topic Plugin Version
const Photos MBS Mac64bit Plugin 20.2
One of the constants for how to resize the requested image to fit a target size, used by the resizeMode property.

Photos efficiently resizes the image to a size similar to, or slightly larger than, the target size.
With this option, Photos can use image subsampling to quickly provide an image at a size roughly matching the target size.

PHImageRequestOptionsMBS.ResizeModeNone = 0

Type Topic Plugin Version
const Photos MBS Mac64bit Plugin 20.2
One of the constants for how to resize the requested image to fit a target size, used by the resizeMode property.

Photos does not resize the image asset.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...