Added 'Render Image' operation

This commit is contained in:
n1474335 2017-05-19 11:15:48 +00:00
parent 87c2ec678f
commit 491a82cd67
7 changed files with 108 additions and 5 deletions

View file

@ -285,6 +285,7 @@ const Categories = [
"Detect File Type",
"Scan for Embedded Files",
"Generate UUID",
"Render Image",
"Numberwang",
]
},

View file

@ -3353,6 +3353,19 @@ const OperationConfig = {
outputType: "string",
args: [],
},
"Render Image": {
description: "Displays the input as an image. Supports the following formats:<br><br><ul><li>jpg/jpeg</li><li>png</li><li>gif</li><li>webp</li><li>tiff</li><li>bmp</li></ul>",
run: Image.runRenderImage,
inputType: "string",
outputType: "html",
args: [
{
name: "Input format",
type: "option",
value: Image.INPUT_FORMAT
}
]
},
};
export default OperationConfig;