THPDFJBIG2Encoder.EncodePagesToByteArrays Method

Encodes all supplied bilevel pages as one trained JBIG2 batch and returns shared global data

Declaration

Function EncodePagesToByteArrays(Const Pages: TJBIG2BatchPageArray;
  Var ImageData: TJBIG2EncodedPageArray;
  Var GlobalData: TJBIG2ByteArray;
  Var Statistics: TJBIG2BatchEncodeStatistics;
  Const Options: TJBIG2EncodeOptions;
  Const BatchOptions: TJBIG2BatchEncodeOptions): Boolean;

Unit

HPDFJBIG2

Behavior

Statistics

TJBIG2BatchEncodeStatistics reports backend choice, page and input sizes, page and global output bytes, native symbol count, and budget rejection

Related APIs