Created
August 17, 2019 19:43
-
-
Save karthik20522/00d0c6079c99f0eb82b77e66b0efd7fa to your computer and use it in GitHub Desktop.
exif xmp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function handleBinaryFile(binFile) { | |
var data = findEXIFinJPEG(binFile); | |
var iptcdata = findIPTCinJPEG(binFile); | |
var xmpdata= findXMPinJPEG(binFile); // add | |
img.exifdata = data || {}; | |
img.iptcdata = iptcdata || {}; | |
img.xmpdata = xmpdata || {}; //add | |
if (callback) { | |
callback.call(img); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment