PictureEffectsRaw Xojo Plugin

SepiaEffectRaw.ApplyInPlace Method (console safe)

Applies the effect on a RawBitmap image with parameters that have been set on the class instance, and the RawBitmap passed in will also get the result image.

ApplyInPlace(
   source as RawBitmap,
   value as Single)

Parameters

source
The source image as RawBitmap
value
The sepia value. The value can be from 0.0 to 1.0. Lower gives more black and white result while higher value gives more brown tonesThe sepia value. The value can be from 0.0 to 1.0. Lower gives more black and white result while higher value gives more brown tones

Remarks

Note when using ApplyInPlace on this effect then the source bitmap may not be Gray color space. Since destination always needs to be RGB for Sepia and when using ApplyInPlace then the source is the destination also.

See Also

SepiaEffectRaw Class