【发布时间】:2016-01-06 12:30:05
【问题描述】:
我想旋转并保存已存储在 blobstore 中的图像。为此,我尝试使用images.Image.rotate method
img = images.Image(blob_key=image.blob)
img.rotate(180)
final_image = img.execute_transforms(output_encoding=images.PNG)
我不知道如何将旋转后的图像再次保存到 blobstore。
【问题讨论】:
-
我还没有使用 GCS,所以我不是 100% 确定,但我会尝试这篇文章中的方法:stackoverflow.com/questions/27019626/…
-
@DanCornilescu 我们目前使用的是 blobstore 而不是 GCS,