How can I extract camera related information (eg. camera model, date taken etc) from an image stored in the database? For example, I resized an image and uploaded it and saved its path in database. I want to display basic camera information while displaying the image, therefore I want to extract the information. Thanks.
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- How to access the camera from my Windows Phone 8 a
- CV2 Image Error: error: (-215:Assertion failed) !s
- I want to read exif info in image in android. I ca
相关文章
- Use savefig in Python with string and iterative in
- How to write CUSTOM metadata into JPEG with Python
- Where does this quality loss on Images come from?
- Specifying image dimensions in HTML vs CSS for pag
- How to insert pictures into each individual bar in
- How do I append metadata to an image in Matlab?
- What file sytems support Java UserDefinedFileAttri
- Img url to dataurl using JavaScript
You want to read the EXIF data. For PHP, use exif_read_data. Sample:
What you want to obtain is the EXIF data.
Take a look here for some suggestions about libraries/etc...
http://en.wikipedia.org/wiki/Exchangeable_image_file_format#Program_support
PHP has an EXIF library: http://php.net/manual/en/book.exif.php
What is the image type? What language are you using?
Assuming, for example, you're talking about JPG images then what you're probably trying to do is read the EXIF data from the file. If you're using, for example, Java then there are various libraries such as this one to help you.
Google will uncover many, many more depending on your language/environment.