I have a little "big" problem.
I use agile-uploader to upload multiple image, this component resize all the picture (it works very well) but by doing this I lose exif data.
Can I read exif data in the client-side using JS ? given that isn't the same name domain.
Can I read Exif data of a picture in the client-side with js?
5.8k views Asked by EatMeAlive At
1
Yes. There's a new library exifr with which you can do exactly that. It's maintained, actively developed library with focus on performance and works in both nodejs and browser.
Simple example of extracting exif from one file:
Complex example of extracting exif from multile files:
And you can even extract thumbnail thats embedded in the file:
You can also try out the library's playground and experiment with images and their output, or check out the repository and docs.