Skip to content

SixelImage

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Represents a decoded Sixel image as RGBA pixel data.

csharp
public sealed class SixelImage

Inheritance

ObjectSixelImage

Constructors

SixelImage(int, int, byte[])

Creates a new Sixel image.

Parameters:

csharp
public SixelImage(int width, int height, byte[] pixels)

Properties

Height

Gets the height of the image in pixels.

Returns: Int32

csharp
public int Height { get; }

Pixels

Gets the raw RGBA pixel data (4 bytes per pixel: R, G, B, A).

Returns: Byte[]

csharp
public byte[] Pixels { get; }

Width

Gets the width of the image in pixels.

Returns: Int32

csharp
public int Width { get; }

Released under the MIT License.