TJBIG2DecodeResult Record

Carries the decoded bitmap geometry together with the per-scanline pixel rows produced by a JBIG2 region decode

Declaration

TJBIG2DecodeResult= record
  Width: Integer;
  Height: Integer;
  ScanlineByteWidth: Integer;
  Scanlines: TJBIG2ScanlineArray;
end;

Unit

HPDFTypes

Fields

FieldPurpose
WidthWidth of the decoded region in pixels
HeightHeight of the decoded region in pixels; Length(Scanlines) matches this value
ScanlineByteWidthBytes per packed 1-bit row, aligned to a byte
ScanlinesOne packed monochrome byte row per scanline, starting with the top row; 1 bits denote black

Usage notes

Related APIs