THotPDF.DecodeLoadedCCITTStream Method

Method summary: THotPDF.DecodeLoadedCCITTStream MethodCCITTFaxDecode image stream into a 24-bit bitmap

Declaration

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

Unit

HPDFDoc

Parameters

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

Return value

Bitmap containing the decoded imageTBitmap, or nil when the stream parameters or encoded data are invalid

Usage notes

Related APIs