FG

How do I know the gzip compression level?

Fresh3 days ago
Mar 15, 202658159 views
Confidence Score0%
0%

Problem

Given a gzip compressed file, how do I know what compression level (1-9) was used for it?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I know the gzip compression level?

Low Risk

It is stored in the header of file. To see it, use command. For example: Unfortunately there are only three possible values in the header: max speed (level 1), max compression (level 9) and "normal" (all other levels). But better than nothing!

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment