wpkg --zlevel | -z ...

Short Hand

wpkg -z

The --zlevel option is used to change the level of compression used while creating a package. The compression level is expected to be a number from 1 to 9. Any other number will generate an error.

At this time we support the z library and the bz2 library which both use a level of 1 to 9 as well so it matches one to one. Libraries that we will support at a later time will make use of a remapped compression level if necessary.

To avoid compression, you use the --compressor command with "none" (i.e. --zlevel 0 would not do it.)

By default wpkg uses the highest possible level of compression which is 9.