# CompressionQuality

The amount of compression to use when encoding to JPEG, PDF, or WebP format.

Specify a value from 0 (smallest file size, greatest compression) to 100 (largest file size, better image quality).

For PDF and WebP formats you can also specify the value `lossless`.

Type: | Integer or "lossless"
Default: | The value contained in the record. This is lossless by default (100 for JPEG) but can be modified by an Image Format transformation task.
Allowed Range: | Minimum: 0 (smallest file size, greatest compression) Maximum: 100 (largest file size, better image quality)
Required: | No
Configuration Section: | TaskName
Example: | `CompressionQuality=90`
See Also: |

_FT_HTML5_bannerTitle.htm