Skip to content

Commit 55bb26e

Browse files
committed
improve description
1 parent f883301 commit 55bb26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py5_docs/Reference/api_en/Py5Image_resize.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Resize the Py5Image object to a new height and width. This will modify the Py5Im
1818

1919
To make the image scale proportionally, use 0 as the value for either the `w` or `h` parameter.
2020

21-
The default resize interpolation mode is `BILINEAR`. Alternatively you can interpolate using the `NEAREST_NEIGHBOR` method, which is faster but yields the lowest quality results. You can also use `BICUBIC` interpolation, which is the most computationally intensive but looks the best, particularly for up-scaling operations.
21+
The default resize interpolation mode is `BILINEAR`. Alternatively you can use the `interpolation_mode` parameter to interpolate using the `NEAREST_NEIGHBOR` method, which is faster but yields lower quality results. You can also use `BICUBIC` interpolation, which is the most computationally intensive but looks the best, particularly for up-scaling operations.
2222

2323
@@ example
2424
image = Py5Image_resize_0.png

0 commit comments

Comments
 (0)