简体   繁体   English

AWS S3:从s3中的映像读取exif数据

[英]AWS S3: Reading exif data from image in s3

Is there a way to read only the exif metadata from an image in s3? 有没有办法从s3中的图像中仅读取exif元数据? Or can we read exif metadata by getting the image in bytes instead of downloading the image as getting bytes is faster? 还是我们可以通过获取以字节为单位的图像来读取exif元数据,而不是通过获取字节来更快地下载图像?

Currently, downloading and reading exif data using exif extractor seems to be the only way. 当前,使用exif提取器下载和读取exif数据似乎是唯一的方法。

Updating the answer based on @Michael's comment. 根据@Michael的评论更新答案。

Object metadata doesn't include EXIF. 对象元数据不包含EXIF。 For this to work, you would have to extract the EXIF data and add it to the object metadata when the object is uploaded. 为此,您必须提取EXIF数据,然后在上载对象时将其添加到对象元数据中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM