From ee25df0c28bf51d8b1e8fd86561ab61cb61edf03 Mon Sep 17 00:00:00 2001 From: toby Date: Mon, 8 May 2017 12:48:43 -0400 Subject: [PATCH] Add desc and fix error message for "Extract EXIF" --- src/core/config/OperationConfig.js | 5 +++++ src/core/operations/Image.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/core/config/OperationConfig.js b/src/core/config/OperationConfig.js index 325dc8ac..81c47072 100755 --- a/src/core/config/OperationConfig.js +++ b/src/core/config/OperationConfig.js @@ -3315,6 +3315,11 @@ const OperationConfig = { }, "Extract EXIF": { description: [ + "Extracts EXIF data from an image.", + "

", + "EXIF data is metadata embedded in images (JPEG, JPG, TIFF) and audio files.", + "

", + "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", diff --git a/src/core/operations/Image.js b/src/core/operations/Image.js index bd616edb..511585c8 100644 --- a/src/core/operations/Image.js +++ b/src/core/operations/Image.js @@ -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; } }, };