回答編集履歴
1
fix typo
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
img = Image.open("image1.JPG")
|
14
14
|
|
15
|
-
resize_img = img.resize((300 , 300), Image.LANCZOS) #
|
15
|
+
resize_img = img.resize((300 , 300), Image.LANCZOS) # リサンプリングのアルゴリズムを変更
|
16
16
|
|
17
17
|
resize_img.save("image2.JPG")
|
18
18
|
|