Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要能够将图像存储到 S3 而不将其写入临时文件。我的应用程序将部署到具有只读文件系统的 heroku。有没有办法将图像从内存直接保存到 S3?
去吧:
AWS::S3::S3Object.store('image_name.png', image.to_blob, 'bucket_name')