THotPDF.AddJBIG2BitmapBatch Method
Converts one-bit VCL bitmaps to scanlines and registers them through the cross-page batch encoder
Declaration
Function AddJBIG2BitmapBatch(Const Bitmaps: Array Of TBitmap;
Out ImageIndexes: THPDFIntegerArray;
Out Statistics: TJBIG2BatchEncodeStatistics;
Const BatchOptions: TJBIG2BatchEncodeOptions): Boolean;
Unit
HPDFDoc
Behavior
- Accepts nonempty
pf1bitbitmaps with valid dimensions - Normalizes bottom-up VCL scanlines into top-to-bottom packed page data
- Delegates validation, cross-page training, shared globals, duplicate reuse, and telemetry to
AddJBIG2ImageBatch - Fails the complete operation when any input bitmap is invalid
Return value
Returns True only when all bitmaps are encoded and registered