We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd48168 commit 0911a56Copy full SHA for 0911a56
appengine/flexible/scipy/main.py
@@ -16,7 +16,6 @@
16
import os
17
18
from flask import Flask
19
-from scipy.misc import imread
20
import scipy.misc
21
22
app = Flask(__name__)
@@ -28,7 +27,7 @@ def resize():
28
27
"""Demonstrates using scipy to resize an image."""
29
app_path = os.path.dirname(os.path.realpath(__file__))
30
image_path = os.path.join(app_path, 'assets/google_logo.jpg')
31
- img = imread(image_path)
+ img = scipy.misc.imread(image_path)
32
img_tinted = scipy.misc.imresize(img, (300, 300))
33
output_image_path = os.path.join(
34
app_path, 'assets/resized_google_logo.jpg')
0 commit comments