PictureEffectsRaw Xojo Plugin

TrimEffectRaw.Apply Method (console safe)

Applies the effect on a RawBitmap image with some of the parameters that have been set on the class instance, taking trimMethod in as Parameter as well as edgePixelCount.

Apply(
   source as RawBitmap,
   trimMethod as TrimEffectRaw.TrimMethods,
   edgePixelCount as Integer) as RawBitmap

Parameters

source
The source image as RawBitmap
trimMethod
The trim method to be used. Automatic based on color, automatic based on alpha, automatic based on color and alpha or manual.
edgePixelCount
The count of pixels from the actual image that should not be trimmed. (Has no effect in manual mode)

Returns

RawBitmap
The result as RawBitmap or nil if there was error

Remarks

See Also

TrimEffectRaw Class