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/content/documentation/content/image-processing/index.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,11 @@ resize_image(path, width, height, op, format, quality)
28
28
-`"auto"`
29
29
-`"jpg"`
30
30
-`"png"`
31
+
-`"webp"`
31
32
32
33
The default is `"auto"`, this means that the format is chosen based on input image format.
33
34
JPEG is chosen for JPEGs and other lossy formats, and PNG is chosen for PNGs and other lossless formats.
34
-
-`quality` (_optional_): JPEG quality of the resized image, in percent. Only used when encoding JPEGs; default value is `75`.
35
+
-`quality` (_optional_): JPEG or WebP quality of the resized image, in percent. Only used when encoding JPEGs or WebPs; for JPEG default value is `75`, for WebP default is lossless.
0 commit comments