I want to compress a file using Zlib (Best compression) i have googled a bit around and i have found a way to compress, but it isn't at the best compression level, I'd love to get some help

OS Details: Parrot Security OS Release 3.11 64-Bit Kernel Linux 4.14.0-parrot13-amd64 x86_64 MATE 1.18.0


According to my tests the pigz utility will do it like so...

pigz -z9 < file2Compress > outCompressedFile


zlib-flate -compress < yourFile2Compress > compressedFileName

However zlib-flate will only do default compression.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.