Name

kOfxImageEffectPropPreMultiplication — Indicates the premultiplication state of a clip or image

Synopsis

#include "/ofxImageEffect.h"
#define kOfxImageEffectPropPreMultiplication "OfxImageEffectPropPreMultiplication"

Type

kOfxImageEffectPropPreMultiplication is of type string, and has only a single dimension.

Property Set

This is a property that belongs to the clip instance (read only), image instance (read only), out args property in the kOfxImageEffectActionGetClipPreferences action (read/write).

Valid Values

This must be one of

  • kOfxImageOpaque - the image is opaque and so has no premultiplication state
  • kOfxImagePreMultiplied - the image is premultiplied by its alpha
  • kOfxImageUnPreMultiplied - the image is unpremultiplied

Description

Indicates the premultiplication state of a clip or image

See the documentation on clip preferences for more details on how this is used with the kOfxImageEffectActionGetClipPreferences action.