Skip to content

Commit eb1495b

Browse files
committed
Update resampling method used in rgb_display_pillow_image.py
1 parent 72a2bb5 commit eb1495b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/rgb_display_pillow_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
else:
8585
scaled_width = width
8686
scaled_height = image.height * width // image.width
87-
image = image.resize((scaled_width, scaled_height), Image.BICUBIC)
87+
image = image.resize((scaled_width, scaled_height), Image..Resampling.BICUBIC)
8888

8989
# Crop and center the image
9090
x = scaled_width // 2 - width // 2

0 commit comments

Comments
 (0)