editImage.json•3.36 kB
{
"nodeType": "n8n-nodes-base.editImage",
"displayName": "Edit Image",
"description": "Edits an image like blur, resize or adding border and text",
"version": 1,
"properties": [
{
"name": "Blur",
"default": null,
"description": "Adds a blur to the image and so makes it less sharp"
},
{
"name": "Border",
"default": null,
"description": "Adds a border to the image"
},
{
"name": "Composite",
"default": null,
"description": "Composite image on top of another one"
},
{
"name": "Create",
"default": null,
"description": "Create a new image"
},
{
"name": "Crop",
"default": null,
"description": "Crops the image"
},
{
"name": "Draw",
"default": null,
"description": "Draw on image"
},
{
"name": "Rotate",
"default": null,
"description": "Rotate image"
},
{
"name": "Resize",
"default": null,
"description": "Change the size of image"
},
{
"name": "Shear",
"default": null,
"description": "Shear image along the X or Y axis"
},
{
"name": "Text",
"default": null,
"description": "Adds text to image"
},
{
"name": "Transparent",
"default": null,
"description": "Make a color in image transparent"
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "border",
"description": "Returns image information like resolution",
"options": [
{
"name": "Get Information",
"value": "information",
"description": "Returns image information like resolution"
},
{
"name": "Multi Step",
"value": "multiStep",
"description": "Perform multiple operations"
}
]
},
{
"name": "dataPropertyName",
"displayName": "Property Name",
"type": "string",
"default": "data",
"description": "Name of the binary property in which the image data can be found"
},
{
"name": "operations",
"displayName": "Operations",
"type": "fixedCollection",
"default": {},
"description": "The operations to perform",
"placeholder": "Add Operation",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"operation": [
"multiStep"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "File name to set in binary data",
"placeholder": "Add option",
"options": [
{
"name": "fileName",
"displayName": "File Name",
"type": "string",
"default": "",
"description": "File name to set in binary data"
}
],
"displayOptions": {
"hide": {
"operation": [
"information"
]
}
}
}
],
"credentialsConfig": [],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}