Enum PixelConversionModifiers
Flags responsible to select additional operations which could be efficiently applied in ToVector4(Configuration, ReadOnlySpan<TPixel>, Span<Vector4>, PixelConversionModifiers) or FromVector4Destructive(Configuration, Span<Vector4>, Span<TPixel>, PixelConversionModifiers) knowing the pixel type.
Namespace: SixLabors.ImageSharp.PixelFormats
Assembly: SixLabors.ImageSharp.dll
Syntax
[Flags]
public enum PixelConversionModifiers
Fields
Name | Description |
---|---|
None | No special operation is selected |
Premultiply | Enable alpha premultiplication / unpremultiplication |
SRgbCompand | Enable SRGB companding (defined in SRgbCompanding). |
Scale | Select ToScaledVector4() and FromScaledVector4(Vector4) instead the standard (non scaled) variants. |