Add desc and fix error message for "Extract EXIF"

This commit is contained in:
toby 2017-05-08 12:48:43 -04:00
parent 478af40359
commit ee25df0c28
2 changed files with 6 additions and 1 deletions

View File

@ -3315,6 +3315,11 @@ const OperationConfig = {
},
"Extract EXIF": {
description: [
"Extracts EXIF data from an image.",
"<br><br>",
"EXIF data is metadata embedded in images (JPEG, JPG, TIFF) and audio files.",
"<br><br>",
"EXIF data from photos usually contains information about the image file itself as well as the device used to create it.",
].join("\n"),
run: Image.runEXIF,
inputType: "byteArray",

View File

@ -28,7 +28,7 @@ const Image = {
lines.unshift(`Found ${numTags} tags.\n`);
return lines.join("\n");
} catch (err) {
throw "Could not EXIF data from image: " + err;
throw "Could not extract EXIF data from image: " + err;
}
},
};