All Questions
11
questions
0
votes
1
answer
374
views
How to DEFLATE with a command line tool to extract a page from Microsoft Server
How can I view html page from Server: Microsoft-IIS/10.0 with header: "Accept-Encoding: deflate"
I can't decompress such html page in Linux(Centos).
I can decompress with "Accept-...
2
votes
1
answer
1k
views
Deflate compression - numerical example
I am really interested to see a numerical example how deflate compression works, by hand.
The following very short text 'abc' has been compressed using the deflate algorithm outputting '...
4
votes
0
answers
11k
views
How to decode a PDF file to a readable format?
I want to decode a PDF file so I can use/edit the elements inside the pdf, I want to use/edit them in Lua so I have to have the readable format.
This is the format I need.
%PDF-1.3
...
<<
/...
1
vote
0
answers
2k
views
difference between gzip and gzip, deflate
I want to know what is the difference when I add Accept-Encoding: gzip, deflate in request header and when I only add Accept-Encoding: gzip.
Because in response header I could see Content-Encoding : ...
0
votes
1
answer
114
views
How to properly use Ruby CGI module for gzipped output?
This code doesn't work in Firefox 38.0.1 (Content Encoding Error) and Google Chrome 42.0.2311.152 (ERR_CONTENT_DECODING_FAILED), however it works with Opera 12.16 and cURL (with --compressed option):
...
13
votes
2
answers
11k
views
Trying to understand zlib/deflate in PNG files
I'm currently in the middle of writing a small PNG image I/O library myself for learning purposes. My problem is the following:
I created a small PNG only 2 by 2 pixels in dimension and opened it in ...
2
votes
2
answers
6k
views
Deflate Algorithm Pseudocode
I am currently trying to understand how DEFLATE algorithm works. I know that it is a combination of LZ77 and Huffman Coding. I've studied how those two work, but I currently have no idea how they are ...
2
votes
1
answer
6k
views
DEFLATE Encoding with static Huffman Codes
need some help to understand how DEFLATE Encoding works. I know that is a combination of the LZSS algorithm and Huffman coding.
So let encode for example "Deflate late". Params: [Search buffer: 8kb ...
1
vote
2
answers
5k
views
Dynamic Huffman Encoding on Deflate - RFC 1951
I am developing a file compressor program. We are currently implementing .ZIP archiver standart, so that when generate a compressed .ZIP archiver any other reputable compressor (such as 7zip) can ...
1
vote
1
answer
563
views
gzip or deflate files can it be merged together? for api
i have api that let you get one or more files content in one request and i have them as deflate/gzip and normal text, for now im using normal text, but was wondering if i can merge deflate files and ...
69
votes
6
answers
24k
views
Why do real-world servers prefer gzip over deflate encoding?
We already know deflate encoding is a winner over gzip with respect to speed of encoding, decoding and compression size.
So why do no large sites (that I can find) send it (when I use a browser that ...