PictureEffectsRaw Xojo Plugin

MapEffectRaw.Apply Method (console safe)

Applies the effect on a RawBitmap image with parameters that have been set on the class instance, taking additionally the mapping channels as parameters.

Apply(
   source as RawBitmap,
   red() as UInt8,
   green() as UInt8,
   blue() as UInt8) as RawBitmap

Parameters

source
The source image as RawBitmap
red()
The red channel mapping, defined as: Dim red(255) as UInt8, where array elements 0 - 255 contain the mapping for the red channel.
green()
The green channel mapping, defined as: Dim green(255) as UInt8, where array elements 0 - 255 contain the mapping for the green channel.
blue()
The blue channel mapping, defined as: Dim blue(255) as UInt8, where array elements 0 - 255 contain the mapping for the blue channel.

Returns

RawBitmap
The result as RawBitmap or nil if there was error

Remarks

See Also

MapEffectRaw Class