Skip to main content
Version: 2.0.0-preview

High Contrast

Increases image contrast and optionally desaturates or inverts the result. Useful for accessibility passes or stylized monochrome looks.

Library location

Library → Filter Effect → High Contrast

Properties

Grayscale

When true, converts the result to grayscale.

  • Type: bool
  • Default: false
  • Animatable: Yes

Invert Style (InvertStyle)

Inversion mode (None / Brightness / All).

  • Type: HighContrastInvertStyle
  • Default: HighContrastInvertStyle.NoInvert
  • Animatable: Yes

Contrast

Amount of contrast added (positive = stronger contrast).

  • Type: float
  • Default: 0
  • Animatable: Yes

Usage

Set Contrast to a positive value, enable Grayscale for monochrome, and pick InvertStyle to invert all colors or only luminance.

Source

src/Beutl.Engine/Graphics/FilterEffects/HighContrast.cs