Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHContentEditingOutputMBS class.

PHContentEditingOutputMBS.adjustmentData as PHAdjustmentDataMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An object describing the changes made to the asset.

You use adjustment data to describe the “recipe” for an edit that later edits can make use of. For example, a photo editing app can use this property to save information about the filters applied to a photo. Later, the same app (or another app that understands its adjustment data format) can load the filter information, change the filter parameters, and reapply the filters to the original photo.

If you write new asset content to the URL specified by the renderedContentURL property, you must also provide a new, distinct PHAdjustmentDataMBS object describing your edit. Passing a preexisting adjustment data object (that describes an earlier edit) results in undefined behavior.
(Read only property)

PHContentEditingOutputMBS.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)

PHContentEditingOutputMBS.renderedContentURL as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The URL at which to write a file containing edited asset content.

Read this property to find a URL for writing edited asset content. Then, if editing a photo asset, write the altered photo image to a file in JPEG format at this URL. If editing a video asset, export the video to a QuickTime (.mov) file at this URL.

Edited asset content must incorporate (or “bake in”) the intended orientation of the asset. That is, the orientation metadata (if any) that you write in the output image or video file must declare the “up” orientation, and the image or video data must appear right-side up when presented without orientation metadata.

For Live Photo content, you don’t write output to this URL. Instead, pass the editing output object to the saveLivePhotoToOutput method.
(Read only property)

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


The biggest plugin in space...