Skip to content

webmaster442.windowsterminal.sixeloptions

webmaster442 edited this page Jun 9, 2025 · 2 revisions

< Back


SixelOptions

Namespace: Webmaster442.WindowsTerminal

Controls image to sixel conversion options

public struct SixelOptions

Inheritance Object → ValueType → SixelOptions
Implements IEquatable<SixelOptions>

Fields

Default

Default options

public static SixelOptions Default;

Properties

MaxSize

Maximum size. If the image is greater than this size, it will be resized in a way specified by the SizeMode property. If null, then terminal window size is used.

public Nullable<ValueTuple<int, int>> MaxSize { get; set; }

Property Value

Nullable<ValueTuple<Int32, Int32>>

SizeMode

Gets or sets the image sizeing mode

public SizeMode SizeMode { get; set; }

Property Value

SizeMode

Colors

Gets or sets the number of colors to use in the sixel image Maximum is 256

public int Colors { get; set; }

Property Value

Int32

Constructors

SixelOptions()

Creates a new instance of SixelOptions

SixelOptions()

Methods

ToString()

string ToString()

Returns

String

GetHashCode()

int GetHashCode()

Returns

Int32

Equals(Object)

bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(SixelOptions)

bool Equals(SixelOptions other)

Parameters

other SixelOptions

Returns

Boolean


< Back

Documentation

Clone this wiki locally