Table of Contents

Enum RasterAccess

Namespace
Egami.Formats
Assembly
Egami.dll

How a decode produces rows, as Access reports it.

public enum RasterAccess

Fields

Buffered = 0

The image is decoded into an internal buffer first, and rows are served from it.

Streamed = 1

Rows are decoded as they are asked for, holding only the format's own working set.

Examples

// Only a rectangle, at a quarter of its size or a little more.
ReaderOptions options = new() { Region = new Rect(100, 200, 256, 256), MinimumSize = new Size(64, 64) };
RasterInfo info = Raster.Probe("egret.png", options: options);   // Access and WorkingBytes before decoding
using Raster tile = Raster.Load("egret.png", options: options);