Search Results for

    Show / Hide Table of Contents

    Class ColorMatrix

    Contains standard 4x4 matrices for use with the ColorMatrixTransform filter.

    Inheritance
    System.Object
    ColorMatrix
    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public static class ColorMatrix : Object

    Fields

    Grey

    Converts a color image to greyscale using the Rec. 601 luma coefficients.

    Declaration
    public static readonly Matrix4x4 Grey
    Field Value
    Type Description
    System.Numerics.Matrix4x4

    Negative

    Inverts the channel values of an image, producing a color or greyscale negative.

    Declaration
    public static readonly Matrix4x4 Negative
    Field Value
    Type Description
    System.Numerics.Matrix4x4

    Polaroid

    An example of a stylized matrix, with a teal tint, increased contrast, and overblown highlights.

    Declaration
    public static readonly Matrix4x4 Polaroid
    Field Value
    Type Description
    System.Numerics.Matrix4x4

    Sepia

    Applies sepia toning to an image.

    Declaration
    public static readonly Matrix4x4 Sepia
    Field Value
    Type Description
    System.Numerics.Matrix4x4
    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX