Click or drag to resize
HighlightsAndShadowsEffectSourceIsLinearGamma Property
Specifies whether the source image uses linear gamma as opposed to the default sRGB.

Namespace:  Microsoft.Graphics.Canvas.Effects
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public bool SourceIsLinearGamma { get; set; }

Property Value

Type: Boolean
Remarks

This effect works in linear gamma space, so if the input image is already linear, SourceIsLinearGamma should be set to true to prevent sRGB to linear conversions being performed.

Default value false.

See Also