Add remove EXIF operation

This commit is contained in:
David Moodie 2017-06-04 17:08:39 +01:00
parent 57dcd961d5
commit 6741ba0783
5 changed files with 90 additions and 0 deletions

View file

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

View file

@ -3388,6 +3388,19 @@ const OperationConfig = {
}
]
},
"Remove EXIF": {
description: [
"Removes 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.removeEXIF,
inputType: "byteArray",
outputType: "byteArray",
args: [],
},
};
export default OperationConfig;