webmaster442.windowsterminal.sixelencoder - webmaster442/WindowsTerminal GitHub Wiki

< Back


SixelEncoder

Namespace: Webmaster442.WindowsTerminal

Sixel image protocol encoder Based on: https://github.com/trackd/Sixel

public static class SixelEncoder

Inheritance ObjectSixelEncoder Attributes NullableContextAttribute, NullableAttribute, ExtensionAttribute

Methods

Encode(ISixelImage)

Encode an ISixelImage into a Sixel string. ISixelImage is an interface that represents an RGB image that can be encoded into Sixel format. Implmentations of ISixelImage are in Webmaster442.WindowsTerminal.ImageSharp package and WindowsTerminal.SkiaSharp package.

public static string Encode(ISixelImage image)

Parameters

image ISixelImage An ISixelImage to encode

Returns

String Sixel encoded string


< Back