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
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.
kind:method, kind:property, kind:ctor. Press Esc to clear.AdobeTransformGets or sets the Adobe APP14 transform code.AlphaGets the alpha builder created with TryCreateAlpha(Int32, Boolean, out DecodedImageBuilder), or null.AlphaPremultipliedGets a value indicating whether the colour was premultiplied by the alpha created with TryCreateAlpha(Int32, Boolean, out DecodedImageBuilder).BitsPerComponentGets the logical bits per component.ColorModelGets or sets the colour model of the samples.ColorTransformAppliedGets or sets a value indicating whether a YCbCr or YCCK transform was applied.ComponentsGets the number of components in each sample.DecodedRowsGets or sets the number of rows actually decoded; the default is Height.HeightGets the number of rows.IccProfileGets or sets the ICC profile the codestream carries.PaletteGets or sets the palette left unapplied.ReductionGets or sets the reduction the samples were decoded at, as a power of two: 0 for the image's full resolution, 1 for half, 2 for a quarter, 3 for an eighth. A codec that honours Reduction sets it to what it delivered, which may be less than was asked for.SamplesGets the whole buffer, for a codec that writes all rows at once.SamplesInvertedGets or sets a value indicating whether the samples have the opposite polarity to the PDF convention (see SamplesInverted).StorageBitsGets the bits each component occupies in the buffer: 1, 2, 4, 8 or 16.StrideGets the number of bytes in each row.WidthGets the number of samples in each row.Build()Freezes the samples into a DecodedImage, which takes over the memory.Dispose()Returns the memory when the image was never built.GetRow(Int32)Returns row y to write.TryCreateAlpha(Int32, Boolean, out DecodedImageBuilder)Creates the alpha plane: one component, the same width and height, at bitsPerComponent.