SvgReaderSettings.ColorBitDepth Property

Gets or sets the bit depth used to read the colors of the SVG file.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public ColorBitDepth ColorBitDepth { get; set; }

Property Value

A ColorBitDepth value. The default value is Bit8.

Remarks

With Bit16, the colors of fills, strokes, gradient stops, and icc-color() values are 16-bit colors. This keeps smooth gradients when you render the SVG file to a 16-bit image.

The colors of PDF and SVG images that the SVG file references are still 8-bit.

Exceptions

Exception Condition
System.ArgumentOutOfRangeException The value is not a defined ColorBitDepth value.

See Also

Reference