Last update: 2022-02-22
  • Created for:
  • Developer

Jpeg quality. Specifies JPEG encoding attributes to control the compression level.

qlt= *quality*[. *chroma*]


JPEG encoding quality (1…100)


JPEG chromaticity down-sampling (0=normal, 1=disable); optional, default is 0.

Specifies JPEG encoding attributes to control the compression level. In turn, this varies the file size (amount of the reply data), and, indirectly, the visual quality of the resultant image.

Higher quality values increase file size and quality, lower values decrease file sizes and reduce perceived image quality. Values above 90 often generate images indistinguishable from the uncompressed image.

Set the chroma flag to disable the chromaticity down-sampling employed by typical JPEG encoders. This setting may increase the perceived sharpness of edges in an image when the edge is defined by a change in hue rather than brightness. Setting this flag may cause a slight increase in file size. Experiment with this setting if text seems slightly blurry.


May occur anywhere in the request.

Ignored if the output image format does not support JPEG compression. Refer to the description of fmt= for a list of output image formats that support JPEG compression.



See also

fmt=, attribute::JpegQuality

On this page