Search Results for

    Show / Hide Table of Contents

    Interface IIndexedEncoderOptions

    Describes a codec that uses a palette or color map.

    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public interface IIndexedEncoderOptions : IEncoderOptions

    Properties

    Dither

    Controls dithering when palette has fewer colors than the image.

    Declaration
    DitherMode Dither { get; }
    Property Value
    Type Description
    DitherMode

    MaxPaletteSize

    The maximum number of entries in the target palette. Actual palette may have fewer entries if the image contains fewer colors.

    Declaration
    int MaxPaletteSize { get; }
    Property Value
    Type Description
    System.Int32

    PredefinedPalette

    The palette to use when quantizing the image. If null, a custom palette will be created from the image.

    Declaration
    int[] PredefinedPalette { get; }
    Property Value
    Type Description
    System.Int32[]
    Remarks

    If the palette contains a transparent color, it must be the last entry in the palette.

    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX