OfxImageEffectSuiteV1::clipGetImage
— Get a handle for an image in a clip at the indicated time and indicated region
#include "ofxImageEffect.h"
OfxStatus(*clipGetImage)( | OfxImageClipHandleclip, |
OfxTime time, | |
OfxRectD *region, | |
OfxPropertySetHandle *imageHandle) ; |
An image is fetched from a clip at the indicated time for the given region and returned in the imageHandle.
kOfxStatOK
- the image was successfully fetched and returned in the handle,kOfxStatFailed
- the image could not be fetched because it does not exist in the clip at the indicated time and/or region, the pluginshould continue operation, but assume the image was black and transparent.
kOfxStatErrBadHandle
- the clip handle was invalid,kOfxStatErrMemory
- the host had not enough memory to complete the operation, plugin should abort whatever it was doing.