In this post, we will see how to resolve Is it possible to encode date AND time (with some caveats) into 12 bits? Question: I have at my disposal 16 bits. Of them, 4 bits are the header and cannot ...

In this post, we will see how to resolve Image compression with Huffman coding Question: I used Huffman coding in python to compress an image. After that, I found that the image size is 318 KB and the compressed file ...

In this post, we will see how to resolve What type of entropy encoder does the MATLAB save() function use? I.e. how does that function work? Question: I am working on a compression project, and I used the default save() ...

In this post, we will see how to resolve compress image before saving without changing ratio in dotnet core Question: in my code I take image as input. My user does not know much about technology , so they expect ...

Question: I’m trying to make a code (for school) that compresses and counts the number of adjacent characters that are the same. in this example it would be 4(1) 4(0) 2(1) 2(0). it is supposed to output: 4 4 2 ...

Question: Are there any command line scripts and/or online tools that can reverse the effects of minification similar to how Tidy can clean up horrific HTML? (I’m specifically looking to unminify a minified JavaScript file, so variable renaming might still ...

Question: If a picture’s worth 1000 words, how much of a picture can you fit in 140 characters? Note: That’s it folks! Bounty deadline is here, and after some tough deliberation, I have decided that Boojum’s entry just barely edged ...

Question: The compression algorithm used in zlib is essentially the same as that in gzip and zip. What are gzip and zip? How are they different and how are they same? Best Answer: Short form: .zip is an archive format ...

Question: I have an array containing numbers, in that array there’re some numbers that occur many times in consecutive order one after the other, and I want to compress those repeated numbers into a very specific format ‘Number*Times’ to reduce ...

Question: I’m writing a web app feature that would use WebSocket messages to transmit JSON structures between client and server. The most simple protocol for the app would be to keep repeatedly sending mostly redudant parts back and forth. Can ...