[英]How can I resize an image in Java on Heroku?
I'm running a Play Framework 2 web app on Heroku, and I need to create thumbnails when users upload images, before saving them to the Amazon s3 cloud. 我正在Heroku上运行Play Framework 2网络应用,当用户上传图像时,我需要先创建缩略图,然后再将其保存到Amazon s3云中。 What is the best way to do this?
做这个的最好方式是什么?
Note: I am already saving images to s3. 注意:我已经将图像保存到s3。 I just need to know how to create the thumbnails first.
我只需要知道如何首先创建缩略图。
Ended up using http://www.blitline.com/ . 最终使用http://www.blitline.com/ 。 It's a cloud based image processor, and they have a good free plan and reasonable prices after that.
这是一个基于云的图像处理器,此后他们有一个不错的免费计划和合理的价格。 They even store my images in s3 for me after they are processed.
他们甚至在处理后将我的图像存储在s3中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.