Generating thumbnails with Cloud Functions using the Python37 runtime
问题 I have a Google Cloud Function triggered by Firebase Storage, and I want to generate thumbnails. While the Node.js docs have an example that uses ImageMagick there is no such equivalent for the python runtime. What would be an acceptable approach keeping performance in mind ? Would Pillow-SIMD work in a cloud function ? Or should I go App Engine for thumbnail generation and use the Images service ? 回答1: You can use wand, a binding to ImageMagick, along with google-cloud-storage to resize an