THotPDF.DecodeLoadedJBIG2Stream Method

Provides the DecodeLoadedJBIG2Stream behaviour for the document import and output workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance or diagnostics

Declaration

function DecodeLoadedJBIG2Stream(AImageStream: THPDFStreamObject;
  EncodedData: TStream= nil): TBitmap;

Unit

HPDFDoc

Parameters

NamePurpose
AImageStreamLoaded PDF stream object containing JBIG2 image data
EncodedDataOptional bytes of the image after every filter that precedes the JBIG2 stage; when omitted, the stored stream is read

Return value

Bitmap containing the decoded image

Usage notes

Related APIs