PHImageRequestOptionsMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem