'Identifying compression method in PDF and FlateDecode
Im trying to identify the compression method in a PDF file, and the stream is using FlateDecode -encoding.
However, the data's header does not seem to be a zlib header, or is it ? What compression method is used in the streams data ?
11 0 obj
<<
/Filter
/FlateDecode
/Length 542
>>
stream
0D 0A 9A FC 2C 16 E1 DB
83 80 92 08 82 AD 7A A1
endstream
Solution 1:[1]
/FlateDecode means that there is a zlib stream following the end-of-line characters after stream. What you are showing in hex is not a zlib stream, nor does it contain valid deflate data.
Update:
From the comments, the example file being looked at has encrypted strings and streams. (See Section 7.6 of that very document.)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
