We can specify the compression ratio, which is available in the range 1 to 9, where:
- 1 is the lowest, but fastest
- 9 is the best, but slowest
You can specify any ratio in that range as follows:
$ gzip -5 test.img
By default, gzip uses a value of -6, favoring a better compression at the cost of some speed.