File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -96,14 +96,16 @@ export interface TransformOptions {
96
96
*/
97
97
resize ?: 'cover' | 'contain' | 'fill'
98
98
/**
99
- * Set the quality of the returned image, this is percentage based, default 80
99
+ * Set the quality of the returned image.
100
+ * A number from 20 to 100, with 100 being the highest quality.
101
+ * Defaults to 80
100
102
*/
101
103
quality ?: number
102
104
/**
103
105
* Specify the format of the image requested.
104
106
*
105
- * When using 'origin' we force the format to be the same as the original image,
106
- * bypassing automatic browser optimisation such as webp conversion
107
+ * When using 'origin' we force the format to be the same as the original image.
108
+ * When this option is not passed in, images are optimized to modern image formats like Webp.
107
109
*/
108
110
format ?: 'origin'
109
111
}
You can’t perform that action at this time.
0 commit comments