THotPDF.DecodeLoadedCCITTStream Method
方法摘要: THotPDF.DecodeLoadedCCITTStream MethodCCITTFaxDecode image stream into a 24-bit bitmap
宣告
function DecodeLoadedCCITTStream(AImageStream: THPDFStreamObject): TBitmap;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
AImageStream | 含有 CCITT 影像資料的已載入 PDF 串流物件CCITTFaxDecode |
傳回值
存放解碼後影像的點陣圖TBitmap, or nil when the stream parameters or encoded data are invalid
使用說明
- 雙階傳真壓縮的影像串流請用這個 API
- The decoder applies
K,Columns,Rows,BlackIs1,EndOfLine,EncodedByteAlign,EndOfBlock, andDamagedRowsBeforeErrorfrom the resolvedDecodeParmsdictionary - Damaged-row recovery is available only when
EndOfLineis true andKis non-negative; resynchronisation is bounded by the encoded stream length - 傳回的點陣圖實例由呼叫端負責釋放
相關 API
- THotPDF
- THotPDF.GetLoadedImageCount Method
- THotPDF.GetLoadedImageInfo Method