Skip to content

Instantly share code, notes, and snippets.

@psyked
Created April 15, 2018 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psyked/0b4bd10ac1b10f9c1adbefdab3336349 to your computer and use it in GitHub Desktop.
Save psyked/0b4bd10ac1b10f9c1adbefdab3336349 to your computer and use it in GitHub Desktop.
const ExifImage = require('exif').ExifImage;
new ExifImage({ image: './input-file.jpg' }, function (error, exifData) {
if (error) throw error;
const { gps } = exifData;
console.log(gps);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment