TypeLib Xojo support Plugin

IRawBitmapProcessorAsync.ApplyAsync Method

Applies the effect asynchronously on a RawBitmap image with parameters that have been set on the class instance.

ApplyAsync(
   source as RawBitmap,
   completeTarget as Object,
   completeMethod as Ptr)

Parameters

source
The source image as RawBitmap
completeTarget
Instance of target class that should receive complete signal. (Or nil if no signal is wanted)
completeMethod
Address of a method on the class instance passed into the completeTarget parameter. This method must take exactly one parameter which is:
effect as MPImageFilterRaw

It is all right to cast effect to ColorFilterEffectRaw or to let the parameter be effect as ColorFilterEffectRaw if wanted.

Wrong parameters on the completeMethod will give you crash.

If completeTarget is nil then this parameter should also be nil.

Remarks

See Also

IRawBitmapProcessorAsync Interface