THotPDF.DecompressLoadedDocument

THotPDF

 

Top  Previous  Next

Decompresses eligible FlateDecode streams inside a loaded PDF document

 

Delphi syntax:

function DecompressLoadedDocument: Integer;

 

Description

解壓縮唯一濾鏡為 FlateDecode 的 stream,不論以名稱或單一元素陣列的形式指定

鍌衝洖鎴愬姛瑙e绺殑涓叉祦鏁搁噺

以有界的區塊處理壓縮輸入,安全地取代內容,移除 /Filter 與 identity /DecodeParms,並更新 /Length

帶有 TIFF 或 PNG predictor 參數、多濾鏡串接、不支援的濾鏡,或 Flate 資料已損毀的 stream,會維持原狀不動

解壓縮之後呼叫 SaveLoadedDocument,即可寫出轉換後的物件圖形

 

See also: THotPDF