You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/options.mdx
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,6 +234,14 @@ Cookies can contain sensitive information. Be careful when using `IMGPROXY_COOKI
234
234
235
235
*[`IMGPROXY_WEBP_COMPRESSION`]: ((pro)) the compression method to use. Supported values are `lossy`, `near_lossless`, and `lossless`. Default: `lossy`
236
236
*[`IMGPROXY_WEBP_SMART_SUBSAMPLE`]: ((pro)) when `true`, enables smart subsampling. Smart subsampling increases the resulting file size and compression time but improves quality. Default: `false`
237
+
*[`IMGPROXY_WEBP_EFFORT`]: controls the CPU effort spent improving compression. The larger the value, the slower the encoding process but the better the compression. The value should be between 1 and 6. Default: `4`
238
+
*[`IMGPROXY_WEBP_PRESET`]: a hint to the encoder about the type of image being compressed. Supported values are:
239
+
*`default`: _(default)_ a general-purpose preset
240
+
*`photo`: a digital picture, like portrait, inner shot
241
+
*`picture`: an outdoor photograph, with natural lighting
242
+
*`drawing`: a hand or line drawing, with high-contrast details
243
+
*`icon`: a small-sized colorful image
244
+
*`text`: a text image, with large areas of uniform color
0 commit comments