Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHImageRequestOptionsMBS class.

PHImageRequestOptionsMBS.DeliveryMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The requested image quality and delivery priority.

Use this property to tell Photos to provide an image quickly (possibly sacrificing image quality), to provide a high-quality image (possibly sacrificing speed), or to provide both automatically if needed. See DeliveryMode constants.
(Read and Write property)

PHImageRequestOptionsMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The internal object reference.

(Read and Write property)

PHImageRequestOptionsMBS.NetworkAccessAllowed as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A Boolean value that specifies whether Photos can download the requested image from iCloud.

If true, and the requested image is not stored on the local device, Photos downloads the image from iCloud. To be notified of the download’s progress, use the progressHandler property to provide a delegate that Photos calls periodically while downloading the image. If false (the default), and the image is not on the local device, the PHImageResultIsInCloudKey value in the result handler’s info dictionary indicates that the image is not available unless you enable network access.
(Read and Write property)

PHImageRequestOptionsMBS.normalizedCropRect as CGRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A rectangle for requesting a cropped version of the original image.

To request a cropped image, specify the crop rectangle in a unit coordinate space relative to the image. In this coordinate system, the point {0.0,0.0} refers to the upper left corner of the image, and the point {1.0,1.0} refers to the opposite corner regardless of the image’s aspect ratio.
This property defaults to zero rectangle, which specifies no cropping.
If you specify a crop rectangle, you must also specify the PHImageRequestOptionsResizeModeExact option for the resizeMode property.
(Read and Write property)

PHImageRequestOptionsMBS.ProgressHandler as ProgressHandlerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The delegate that Photos calls periodically while downloading the image.

If you request an image whose data is not on the local device, and you have enabled downloading with the networkAccessAllowed property, Photos calls your delegate periodically to report progress and to allow you to cancel the download.
(Read and Write property)

PHImageRequestOptionsMBS.ResizeMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A mode that specifies how to resize the requested image.

Use this property to choose how to fit the image to the target size you specified when requesting image data. See PHImageRequestOptionsResizeMode.
(Read and Write property)

PHImageRequestOptionsMBS.Synchronous as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A Boolean value that determines whether Photos processes the image request synchronously.

If false (the default), the requestImageForAsset method returns immediately. Depending on the deliveryMode property, Photos may call your resultHandler delegate before the method returns, at some later time, or both.
If true, the requestImageForAsset method blocks the calling thread until image data is ready or an error occurs. Photos calls your result handler delegate exactly once.

Perform synchronous requests from a background thread only.
(Read and Write property)

PHImageRequestOptionsMBS.Version as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The version of the image to be requested.

Use this property to request a version of the image with or without adjustments, or to request high-quality original data (for example, a RAW file) if such is available. See Version constants.
(Read and Write property)

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


The biggest plugin in space...