Inversion Processor¶
The Invert processor quickly and easily inverts the colors of an image.
Example Usage¶
Xaml¶
<Image.Effects>
<auroraEffects:ImageProcessingEffect>
<auroraEffects:ImageProcessingEffect.ImageProcessingEffects>
<auroraImageProcessing:Invert />
</auroraEffects:ImageProcessingEffect.ImageProcessingEffects>
</auroraEffects:ImageProcessingEffect>
</Image.Effects>
C#¶
var imageProcessingEffect = new Aurora.Effects.ImageProcessingEffect();
imageProcessingEffect.ImageProcessingEffects.Add(
new Aurora.ImageProcessing.Invert()
);
image.Effects.Add(imageProcessingEffect);