Ciao se ti interessa ho il comando Linux per il deflate:

zlib-flate -uncompress < FILETODEFLATE > NEWFILEUNCOMPRESSED

Vedi qua:
https://unix.stackexchange.com/quest...b-data-in-unix