THotPDF.DecompressLoadedDocument

THotPDF

 

Top  Previous  Next

Decompresses eligible FlateDecode streams inside a loaded PDF document

 

Delphi syntax:

function DecompressLoadedDocument: Integer;

 

Description

Mendekompresi stream yang satu-satunya filter-nya adalah FlateDecode, baik dalam bentuk name maupun array berelemen tunggal

Mengembalikan jumlah aliran yang berhasil didekompresi

Memproses input terkompresi dalam chunk terbatas, mengganti payload dengan aman, menghapus /Filter dan /DecodeParms identity, serta menyegarkan /Length

Stream dengan parameter predictor TIFF atau PNG, rantai multi-filter, filter yang tidak didukung, atau data Flate yang rusak dibiarkan apa adanya

Panggil SaveLoadedDocument setelah dekompresi untuk menulis object graph hasil transformasi

 

See also: THotPDF