Guides
How to Get Image EXIF Information with Javascript
Get Geolocation and other useful with Information from jpeg files
Written
Im creating a map with all my travels
npm install exif
var ExifImage = require("exif").ExifImage;
try {
new ExifImage({ image: "./IMG_0739.JPG" }, function (error, exifData) {
if (error) console.log("Error: " + error.message);
else console.log(exifData); // Do something with your data!
});
} catch (error) {
console.log("Error: " + error.message);
}
Todo
[ ] Make an API on NextJS labmda