Storyblok
Search Storyblok's Documentation
  1. Quality

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.

Preview that reacts to API
demo-sunflower.png
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
demo-sunflower.png
Copied to the clipboard