2017-08-09 21:09:23 +02:00
|
|
|
import Image from "../../operations/Image.js";
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Image module.
|
|
|
|
*
|
|
|
|
* Libraries:
|
|
|
|
* - exif-parser
|
|
|
|
* - remove-exif
|
|
|
|
* - ./FileType.js
|
|
|
|
*
|
|
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
2017-08-25 01:44:22 +02:00
|
|
|
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
2017-08-09 21:09:23 +02:00
|
|
|
|
|
|
|
OpModules.Image = {
|
|
|
|
"Extract EXIF": Image.runExtractEXIF,
|
|
|
|
"Remove EXIF": Image.runRemoveEXIF,
|
|
|
|
"Render Image": Image.runRenderImage,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
export default OpModules;
|