Interface IRawImage

Interface IRawImage

Namespace: Aspose.Medical.Imaging
Assembly: Aspose.Medical.dll (25.11.0)

A raw BGRA 32 bit (8-bit unsigned normalized values ranging from 0 to 255) image. The color components are stored in blue, green, red, and alpha order (least significant to most significant byte).

public interface IRawImage

Properties

Height

The image height in px units. Read-only System.Int32.

int Height { get; }

Property Value

int

Pixels

The image’s pixels. Read-only Aspose.Medical.Imaging.PixelFormats.Bgra32’s array.

Memory<bgra32> Pixels { get; }

Property Value

Memory < Bgra32 &gt;

Width

The image width in px units. Read-only System.Int32.

int Width { get; }

Property Value

int

this[int, int]

Gets or sets the pixel at the specified position.

Bgra32 this[int x, int y] { get; }

Property Value

Bgra32

Exceptions

ArgumentOutOfRangeException

Thrown when the provided (x,y) coordinates are outside the image boundary.