https://github.com/tmcw/exif-extract
extract exif data from files dropped, including positions and thumbnails
https://github.com/tmcw/exif-extract
Last synced: 9 months ago
JSON representation
extract exif data from files dropped, including positions and thumbnails
- Host: GitHub
- URL: https://github.com/tmcw/exif-extract
- Owner: tmcw
- Created: 2013-05-24T18:56:44.000Z (about 13 years ago)
- Default Branch: gh-pages
- Last Pushed: 2014-04-25T12:59:41.000Z (about 12 years ago)
- Last Synced: 2025-02-06T14:11:50.920Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://macwright.org/exif-extract/
- Size: 204 KB
- Stars: 7
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## exif-extract
Extract [EXIF](https://en.wikipedia.org/wiki/Exchangeable_image_file_format) and [JFIF](http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format)
tags from images in-browser.
### example
```js
exifExtract(data, function(err, result) {
if (err) throw err;
if (result.position) {
map.setView(result.position, 13);
}
});
```
### props
Uses [jDataView](https://github.com/vjeux/jDataView) and works well with
the HTML5 Drag & Drop API. Requires FileReader and ArrayBuffer APIs.
Adapted from the implementation
[described and used by Flickr](http://code.flickr.net/2012/06/01/parsing-exif-client-side-using-javascript-2/).