Search Results for

    Show / Hide Table of Contents

    Class GammaMode

    Defines the modes that control gamma correction in pixel blending.

    Inheritance
    System.Object
    GammaMode
    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public sealed class GammaMode : Enum

    Fields

    Companded

    Blend gamma-companded R'G'B' values directly. This is usually a poor choice but may be used for compatibility with other software or where speed is more important than image quality.

    Declaration
    public const GammaMode Companded
    Field Value
    Type Description
    GammaMode

    Linear

    Convert values to linear RGB before blending. This is more mathematically correct and more visually pleasing in most cases.

    Declaration
    public const GammaMode Linear
    Field Value
    Type Description
    GammaMode

    value__

    Declaration
    public byte value__
    Field Value
    Type Description
    System.Byte
    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX