Quality
Adjust the compression rate using the quality
filter with a value between 0
and 100
. The default compression rate is quality(80)
.
Setting high values, such as quality(100)
, will increase the file size beyond the original.
Try the interactive demo below.
Combining the resize operation with the quality filter can significantly reduce the file size and improve page performance. Try the interactive demo below.