[英]Access camera and photo information via javascript, or ANY other language?
when an image is taken, information such as; 拍摄图像时,诸如以下信息;
is at times written within the image and can actually be retrieved for further usage. 有时会写在图像中,并且实际上可以被检索以供进一步使用。 a live example is what Google plus does (you can see the screen shot below), if you are a chronic Tumblr fan, you might notice that tumblr is capable of that too. 一个生动的例子就是Google plus的功能 (您可以在下面看到屏幕截图),如果您是Tumblr的忠实粉丝,您可能会注意到tumblr也可以做到。 Now, how the do they do it? 现在,他们是如何做到的?
This information is available within the photo file as so-called "Exif data". 该信息在照片文件中作为所谓的“ Exif数据”可用。 You can learn more about how this works on this Wikipedia page: https://en.wikipedia.org/wiki/Exchangeable_image_file_format 您可以在以下Wikipedia页面上了解有关其工作原理的更多信息: https : //en.wikipedia.org/wiki/Exchangeable_image_file_format
An example implementation in JavaScript is https://github.com/exif-js/exif-js JavaScript的示例实现是https://github.com/exif-js/exif-js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.