PictureEffectsRaw Xojo Plugin

TrimEffectRaw.SetTrimColorGray Method (console safe)

Sets Trim gray color.

SetTrimColorGray(
   gray as UInt16,
   valueIs16Bit as Boolean)

Parameters

gray
The gray value to be set.
valueIs16Bit
Specifies if you are passing 8bit per channel color or 16bit per channel color. The effect can and will convert if your color depth does not match the bitmap, but for maximum accuracy you will want to pass in the color in correct dept.

Remarks

Note that the color values either have the range 0 to 255 or 0 to 65535 depending on if your working with 8bit per channel images or 16bit per channel images.

Only last method call to any one of the following functions applies: SetTrimAlpha, SetTrimColorCMYK, SetTrimColorCMYKA, SetTrimGray, SetTrimGrayA, SetTrimColorRGB, SetTrimColorRGBA.

See Also

TrimEffectRaw Class