DecodedImageBuilder Class

Definition

Fills a DecodedImage: a codec writes rows into Samples (or GetRow(Int32)), sets what it learned about the samples, then calls Build(). Get one from TryCreateImage(Int32, Int32, Int32, Int32, out DecodedImageBuilder?), which checks the engine's image limits before any memory is rented.

public sealed class DecodedImageBuilder : IDisposable

Remarks

ISO 32000-2 §8.9.3: the layout is DecodedImage's. The memory starts zeroed, so rows a codec never writes (truncated data) read as zero; set DecodedRows to the rows actually decoded.

One codec call on one thread uses a builder. Dispose it if Build() is never called.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (17)

Methods (4)