Platforms to show: All Mac Windows Linux Cross-Platform
PHLivePhotoFrameMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You don’t create classes that implement this protocol. Instead, you provide a frameProcessor block when editing a Live Photo with the PHLivePhotoEditingContextMBS class. When you process your edits for output or display, Photos calls your block repeatedly to process each frame of the Live Photo’s video and still photo content. On each call, Photos provides the frame’s image content and associated information in an object that adopts this protocol. In that block, you use that object’s image property to access the image to be edited, then perform your edits and return another CIImageMBS object representing the result of processing the input image.
Requires macOS 10.12 or newer.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 5 properties
- property Handle as Integer
- property Image as Variant
- property renderScale as Double
- property time as Double
- property Type as Integer
- method Constructor Private
- shared method available as boolean
- 2 constants
Types
Constant | Value | Description |
---|---|---|
TypePhoto | 0 |
The image is a still photo. |
TypeVideo | 1 |
The image is a single frame from the Live Photo’s video content. |
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
PHLivePhotoEditingContextMBS - PHLivePhotoMBS