quality
Specify the output quality for the image allowing to control the degree of compression.
This parameter only applies to output formats with support for lossy compression like jpeg, webp, avif, and jxl.
jpeg
webp
avif
jxl
This parameter accepts integer values in the range 0 to 100.
0
100
The default value for this parameter is 75.
75
Specify an output quality of 50 with quality=50 parameter:
50
quality=50
GET https://assets.imglab-cdn.net/flowers.jpeg?quality=50 x px
https://assets.imglab-cdn.net/flowers.jpeg?quality=50
Specify an output quality of 100 with quality=100 parameter:
quality=100
GET https://assets.imglab-cdn.net/flowers.jpeg?quality=100 x px
https://assets.imglab-cdn.net/flowers.jpeg?quality=100