Customizer's Guide > Customizing PDF Publishing > General Element > Compression Element
  
Compression Element
The <Compression> element specifies the type and level of compression. It’s optional and may be used once.
The <Compression> element has no child elements.
The <Compression> element has the following attributes:
Attributes of Compression
Attribute and values
Description
level = NMTOKEN
Specifies the ZIP compression level, which you can set from 0 (none) to 9 (maximum). The default is 6. This attribute is ignored if type = JPEG.
quality = NMTOKEN
Specifies the JPEG quality, which you can set from 1 (lowest) to 100 (highest). The default is 80. This attribute is ignored if type = ZIP.
type = ZIP | JPEG | AUTO
Specifies the kind of compression. AUTO chooses whichever is smaller between ZIP and JPEG. The default is ZIP.