Skip to main content

Page last updated 07 October 2026

The quality or q parameter provides control over the compression level of images. The value is a whole number between 1 and 100, where a lower number represents a lower-quality output image with a smaller file size and vice-versa. Values below 1 or above 100 are brought into that range, and a value that is not a whole number is ignored, leaving the default in place.

The parameter applies to JPEG and WebP images only. PNG, GIF and TIFF have no detail to trade for file size, so the quality value is ignored and each is written at a fixed compression level. Where no quality is given the defaults are 75 for JPEG and 80 for WebP.

Quality is applied when the image is written, after every other transformation, wherever it appears in the URL.


Original

The coastal landscape at the default quality

31.93KB


Quality at 50%

The coastal landscape at quality 50

22.33KB, 30% saving on original


Quality at 20%

The coastal landscape at quality 20, with visible banding in the sky

14.13KB, 56% saving on original

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request