Skip to content

Quality

Adjust the compression rate using the quality filter with a value between 0 and 100. The default compression rate is quality(80).

Try the interactive demo below.

Preview that reacts to API
Copied to the clipboard

Combining the resize operation with the quality filter can significantly reduce the file size and improve page performance. Try the interactive demo below.

Preview that reacts to API
Copied to the clipboard