Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHLivePhotoFrameMBS class.

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

PHLivePhotoFrameMBS.Image as Variant

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

Value is CIImageMBS object.
Core Image provides several ways to perform your adjustments to this image:

  • Create a single CIFilterMBS object, or a chain of filters. Set this image as the kCIInputImageKey parameter of the first filter in the chain, and use the last filter’s outputImage property to access the result. Each CIFilter object can be a built-in filter or a custom filter subclass that you create.
  • Use the imageByApplyingFilter method to conveniently apply one of the many built-in Core Image filters.
  • Access pixel buffers directly and apply custom image processing using a custom CIImageProcessorKernelMBS subclass.

In all cases, you obtain another CIImageMBS object representing the result of your adjustments. Return that image from your frameProcessor block. (See the frameProcessor description for example code.)
(Read only property)

PHLivePhotoFrameMBS.renderScale as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The scale factor of the frame image relative to the Live Photo’s photo content.

Photos calls your frameProcessor block repeatedly, both to process each frame of the Live Photo’s video content and to process the Live Photo’s still photo content. Video frames can be a different size than still photo content—use this value to scale any of your image processing parameters that depend on the image’s size.
(Read only property)

PHLivePhotoFrameMBS.time as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The time offset, in seconds, of this frame relative to the start of the Live Photo.

You can use this value to vary your image processing over time, creating animated effects.
(Read only property)

PHLivePhotoFrameMBS.Type 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 type of image content in this frame.

Photos calls your frameProcessor block repeatedly, both to process each frame of the Live Photo’s video content and to process the Live Photo’s still photo content. Use this property to distinguish photo content from video frames—for example, to add a watermark only to still photo content.
(Read only property)

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


The biggest plugin in space...