Answer the question
In order to leave comments, you need to log in
How to unpack .zlib and LZMA data stream?
There is a binary file, which contains pictures, archives, and so on. Most interested in data compressed with zlib and LZMA.
I found the signatures with which this data begins. The problem is to determine the end of the stream of this data in order to unpack it correctly.
The zlib (LZMA) compression algorithms themselves are not as well described. as you would like. Maybe someone has already encountered this, or knows a program that can "feed" a stream of bytes, supposedly compressed by these algorithms?
Answer the question
In order to leave comments, you need to log in
The problem is to determine the end of the stream of this data in order to unpack it correctly.For zlib, it seems that it is enough to know where the beginning is, everything after the end is ignored.
Here's what I found:
DESCRIPTION
The zlib-flate program is part of the qpdf package.
The zlib-flate program reads from standard input and writes to standard output either compressing or uncompressing its input using raw zlib compression.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question