ConsoleForge 0.3.0
Elm-architecture TUI framework for .NET 8
Loading...
Searching...
No Matches
ConsoleForge.Widgets.RgbaImageData(byte[] Pixels, int Width, int Height) Struct Reference

Pre-decoded RGBA image data for use with ImageWidget's half-block Unicode fallback renderer. More...

Detailed Description

Pre-decoded RGBA image data for use with ImageWidget's half-block Unicode fallback renderer.

Each pixel is stored as four consecutive bytes in row-major order: R, G, B, A (alpha is read but currently ignored in blending).

Parameters
PixelsRaw RGBA bytes. Length must equal Width × Height × 4.
WidthImage width in pixels.
HeightImage height in pixels.

The documentation for this struct was generated from the following file:
  • src/ConsoleForge/Widgets/RgbaImageData.cs