PictureEffectsRaw Xojo Plugin |
|
GrayscaleEffectRaw.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,
grayscaleTypeValue as Integer)
Parameters
- source
- The source image as RawBitmap.
- grayscaleTypeValue
- Use this parameter to specify which GrayScale algorithm to use.
0 = NTSC/PAL
1 = ITU_R
2 = Average
3 = Weighted average
Normally you would just pass a constant here like: GrayScaleType.NTSC_PAL
Remarks
See Also
GrayscaleEffectRaw Class