diff --git a/src/content/partials/images/quality.mdx b/src/content/partials/images/quality.mdx index 1e3d7ed0c414e41..3a7dadd45c92dc1 100644 --- a/src/content/partials/images/quality.mdx +++ b/src/content/partials/images/quality.mdx @@ -9,20 +9,34 @@ At the moment, this setting only works directly with [image transformations](/im Specifies quality for images in JPEG, WebP, and AVIF formats. The quality is in a 1-100 scale, but useful values are between `50` (low quality, small file size) and `90` (high quality, large file size). `85` is the default. When using the PNG format, an explicit quality setting allows use of PNG8 (palette) variant of the format. +We also allow setting one of the perceptual quality levels `high|medium-high|medium-low|low` + ```js quality=50 + + OR + + quality=low ``` ```js q=50 + + OR + + q=medium-high ``` ```js cf: {image: {quality: 50}} + + OR + + cf: {image: {quality: "high"}} ``` - \ No newline at end of file +