mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Add desc and fix error message for "Extract EXIF"
This commit is contained in:
parent
478af40359
commit
ee25df0c28
2 changed files with 6 additions and 1 deletions
|
@ -3315,6 +3315,11 @@ const OperationConfig = {
|
||||||
},
|
},
|
||||||
"Extract EXIF": {
|
"Extract EXIF": {
|
||||||
description: [
|
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"),
|
].join("\n"),
|
||||||
run: Image.runEXIF,
|
run: Image.runEXIF,
|
||||||
inputType: "byteArray",
|
inputType: "byteArray",
|
||||||
|
|
|
@ -28,7 +28,7 @@ const Image = {
|
||||||
lines.unshift(`Found ${numTags} tags.\n`);
|
lines.unshift(`Found ${numTags} tags.\n`);
|
||||||
return lines.join("\n");
|
return lines.join("\n");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw "Could not EXIF data from image: " + err;
|
throw "Could not extract EXIF data from image: " + err;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue