Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

RasterImageDecoder

Namespace ChartForgeX.Raster

Decodes dependency-free raster image formats into RGBA pixels.

Inheritance

  • Object
  • RasterImageDecoder

Methods

Decode(System.Byte[] data) #

Decodes raster image bytes into RGBA pixels.

Parameters

data System.Byte[] required
The encoded image bytes.

Returns

The decoded RGBA image.

Read 2 overloads
Read(System.String path) #

Reads and decodes a raster image file.

Parameters

path System.String required
The source image path.

Returns

The decoded RGBA image.

Read(System.IO.Stream stream) #

Reads and decodes a raster image stream.

Parameters

stream System.IO.Stream required
The source image stream.

Returns

The decoded RGBA image.

TryDecode(System.Byte[] data, ChartForgeX.Raster.RgbaImage@ image) #

Attempts to decode raster image bytes.

Parameters

data System.Byte[] required
The encoded image bytes.
image ChartForgeX.Raster.RgbaImage@ required
The decoded RGBA image when successful.

Returns

true when the image could be decoded.

TryRead 2 overloads
TryRead(System.String path, ChartForgeX.Raster.RgbaImage@ image) #

Attempts to read and decode a raster image file.

Parameters

path System.String required
The source image path.
image ChartForgeX.Raster.RgbaImage@ required
The decoded RGBA image when successful.

Returns

true when the image could be decoded.

TryRead(System.IO.Stream stream, ChartForgeX.Raster.RgbaImage@ image) #

Attempts to read and decode a raster image stream.

Parameters

stream System.IO.Stream required
The source image stream.
image ChartForgeX.Raster.RgbaImage@ required
The decoded RGBA image when successful.

Returns

true when the image could be decoded.