Table of Contents

Enum PixelConversionModifiers

Namespace
SixLabors.ImageSharp.PixelFormats
Assembly
SixLabors.ImageSharp.dll
[Flags]
public enum PixelConversionModifiers

Fields

None = 0

Preserves the pixel format's native numeric range and alpha representation.

Premultiply = 2

Requests associated alpha for the vector representation. When combined with UnPremultiply, associated alpha takes precedence.

SRgbCompand = 4

Expands sRGB color components when converting pixels to vectors and compresses linear RGB color components when converting vectors to pixels.

Scale = 1

Requests the scaled numeric range represented by ToScaledVector4() and FromScaledVector4(Vector4).

UnPremultiply = 8

Requests unassociated alpha for the vector representation unless Premultiply is also specified.