THotPDF.DecodeLoadedJBIG2Stream Method

Provides the DecodeLoadedJBIG2Stream behavior 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
AImageStreamStream instance used as the source or destination for byte data
EncodedDataOptional bytes of the image after every filter that precedes the JBIG2 stage; when omitted, the stored stream is read

Return value

Returns a TBitmap value

Usage notes

Related APIs