Table of Contents

Class AlphaAwareImageEncoder

Namespace
SixLabors.ImageSharp.Formats
Assembly
SixLabors.ImageSharp.dll

Acts as a base encoder for all formats that are aware of and can handle alpha transparency.

public abstract class AlphaAwareImageEncoder : ImageEncoder, IImageEncoder
Inheritance
AlphaAwareImageEncoder
Implements
Derived
Inherited Members

Properties

TransparentColorMode

Gets or initializes the mode that determines how transparent pixels are handled during encoding. This overrides any other settings that may affect the encoding of transparent pixels including those passed via QuantizerOptions.

public TransparentColorMode TransparentColorMode { get; init; }

Property Value

TransparentColorMode