Add "Extract EXIF" operation

This commit is contained in:
toby 2017-04-29 15:44:39 -04:00
parent 31e5d785fe
commit 1b8a25ec88
6 changed files with 152 additions and 0 deletions

View file

@ -207,6 +207,7 @@ const Categories = [
"Regular expression",
"XPath expression",
"CSS selector",
"Extract EXIF",
]
},
{

View file

@ -15,6 +15,7 @@ import Endian from "../operations/Endian.js";
import Entropy from "../operations/Entropy.js";
import Extract from "../operations/Extract.js";
import FileType from "../operations/FileType.js";
import Image from "../operations/Image.js";
import Hash from "../operations/Hash.js";
import Hexdump from "../operations/Hexdump.js";
import HTML from "../operations/HTML.js";
@ -3249,6 +3250,15 @@ const OperationConfig = {
},
]
},
"Extract EXIF": {
description: [
].join("\n"),
run: Image.runEXIF,
inputType: "byteArray",
outputType: "string",
args: [
]
},
};
export default OperationConfig;