Table of Contents

Property SixelEncoder

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

SixelEncoder

Gets or sets the SixelEncoder used to encode images as sixel data. When null, a default encoder is created lazily on first use.

public SixelEncoder? SixelEncoder { get; set; }

Property Value

SixelEncoder

Remarks

Set this to provide a custom encoder with specific quantizer settings, palette building algorithms, or color distance algorithms. The encoder's Quantizer MaxColors will be clamped during rendering. The default encoder is capped by MaxSixelPaletteColors and the terminal's MaxPaletteColors. Custom encoders are capped only by the terminal's MaxPaletteColors.