interface EditImageNodeParameters {
backgroundColor?: string;
blur?: number;
borderColor?: string;
borderHeight?: number;
borderWidth?: number;
color?: string;
cornerRadius?: number;
dataPropertyName?: string;
dataPropertyNameComposite?: string;
degreesX?: number;
degreesY?: number;
endPositionX?: number;
endPositionY?: number;
fontColor?: string;
fontSize?: number;
height?: number;
lineLength?: number;
operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "information"
| "multiStep"
| "resize"
| "rotate"
| "shear"
| "transparent";
operations?: {
operations: {
backgroundColor?: string;
blur?: number;
borderColor?: string;
borderHeight?: number;
borderWidth?: number;
color?: string;
cornerRadius?: number;
dataPropertyNameComposite?: string;
degreesX?: number;
degreesY?: number;
endPositionX?: number;
endPositionY?: number;
font?: string;
fontColor?: string;
fontSize?: number;
height?: number;
lineLength?: number;
operation?: | "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "resize"
| "rotate"
| "shear"
| "transparent";
operator?: | "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor";
positionX?: number;
positionY?: number;
primitive?: "circle"
| "line"
| "rectangle";
resizeOption?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent";
rotate?: number;
sigma?: number;
startPositionX?: number;
startPositionY?: number;
text?: string;
width?: number;
}[];
};
operator?: | "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor";
options?: {
destinationKey?: string;
fileName?: string;
font?: string;
format?: | "png"
| "bmp"
| "gif"
| "jpeg"
| "tiff"
| "webp";
quality?: number;
};
positionX?: number;
positionY?: number;
primitive?: "circle"
| "line"
| "rectangle";
resizeOption?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent";
rotate?: number;
sigma?: number;
startPositionX?: number;
startPositionY?: number;
text?: string;
width?: number;
}Properties§
readonly background Color?: stringreadonly blur?: numberHow strong the blur should be Default: 5 Type options: {"minValue":0,"maxValue":1000}
readonly border Color?: stringColor of the border Default: "#000000"
readonly border Height?: numberThe height of the border Default: 10
readonly border Width?: numberThe width of the border Default: 10
readonly color?: stringThe color of the primitive to draw Default: "#ff000000" Type options: {"showAlpha":true}
readonly corner Radius?: numberThe radius of the corner to create round corners
readonly data Property Name?: stringName of the binary property in which the image data can be found Default: "data"
readonly data Property Name Composite?: stringThe name of the binary property which contains the data of the image to composite on top of image which is found in Property Name
readonly degrees X?: numberX (horizontal) shear degrees
readonly degrees Y?: numberY (vertical) shear degrees
readonly end Position X?: numberX (horizontal) end position of the primitive Default: 250
readonly end Position Y?: numberY (horizontal) end position of the primitive Default: 250
readonly font Color?: stringColor of the text Default: "#000000"
readonly font Size?: numberSize of the text Default: 18
readonly height?: numberThe height of the image to create Default: 50 Type options: {"minValue":1}
readonly line Length?: numberMax amount of characters in a line before a line-break should get added Default: 80 Type options: {"minValue":1}
readonly operation?:
| "create"
| "text"
| "blur"
| "border"
| "composite"
| "crop"
| "draw"
| "information"
| "multiStep"
| "resize"
| "rotate"
| "shear"
| "transparent"Default: "border"
readonly operations?: { ... }The operations to perform Default: {} Type options: {"multipleValues":true,"sortable":true}
readonly operator?:
| "Add"
| "Atop"
| "Bumpmap"
| "Copy"
| "CopyBlack"
| "CopyBlue"
| "CopyCyan"
| "CopyGreen"
| "CopyMagenta"
| "CopyOpacity"
| "CopyRed"
| "CopyYellow"
| "Difference"
| "Divide"
| "In"
| "Minus"
| "Multiply"
| "Out"
| "Over"
| "Plus"
| "Subtract"
| "Xor"The operator to use to combine the images Default: "Over"
readonly options?: { ... }Default: {}
readonly position X?: numberX (horizontal) position of the text Default: 50
readonly position Y?: numberY (vertical) position of the text Default: 50
readonly primitive?: "circle" | "line" | "rectangle"The primitive to draw Default: "rectangle"
readonly resize Option?:
| "ignoreAspectRatio"
| "maximumArea"
| "minimumArea"
| "onlyIfLarger"
| "onlyIfSmaller"
| "percent"How to resize the image Default: "maximumArea"
readonly rotate?: numberHow much the image should be rotated Type options: {"minValue":-360,"maxValue":360}
readonly sigma?: numberThe sigma of the blur Default: 2 Type options: {"minValue":0,"maxValue":1000}
readonly start Position X?: numberX (horizontal) start position of the primitive Default: 50
readonly start Position Y?: numberY (horizontal) start position of the primitive Default: 50
readonly text?: stringText to write on the image Type options: {"rows":5}
readonly width?: numberThe width of the image to create Default: 50 Type options: {"minValue":1}
The background color of the image to create Default: "#ffffff00" Type options: {"showAlpha":true}