Image Helper
Helper component which contains various actions for image manipulation.
Helper component which contains various actions for image manipulation.
Categories: Helpers
Type: imageHelper/v1
Actions
Compress Image
Name: compressImage
Compress image with specified quality.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | true | |
quality | Quality | NUMBER | Compression quality of the image. | true |
resultFileName | Result File Name | STRING | Specifies the output file name for the result image. | true |
Example JSON Structure
Output
Type: FILE_ENTRY
Properties
Name | Type | Description |
---|---|---|
extension | STRING | |
mimeType | STRING | |
name | STRING | |
url | STRING |
Output Example
Crop Image
Name: cropImage
Crops an image to the specified dimensions.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | true | |
x | X Coordinate | INTEGER | The horizontal starting point of the crop area | true |
y | Y Coordinate | INTEGER | The vertical starting point of the crop area | true |
width | Width | INTEGER | Width of the crop area | true |
height | Height | INTEGER | Height of the crop area | true |
resultFileName | Result File Name | STRING | Specifies the output file name for the result image. | true |
Example JSON Structure
Output
Type: FILE_ENTRY
Properties
Name | Type | Description |
---|---|---|
extension | STRING | |
mimeType | STRING | |
name | STRING | |
url | STRING |
Output Example
Get Image Metadata
Name: getImageMetadata
Get metadata of the image.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | true | |
resultFileName | Result File Name | STRING | Specifies the output file name for the result image. | true |
Example JSON Structure
Output
The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.
Image to Base64
Name: imageToBase64
Converts image to Base64 string.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | true |
Example JSON Structure
Output
Type: STRING
Resize Image
Name: resizeImage
Resizes an image to the specified width and height.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | true | |
width | Width | INTEGER | Width in pixels | true |
height | Height | INTEGER | Height in pixels | true |
resultFileName | Result File Name | STRING | Specifies the output file name for the result image. | true |
Example JSON Structure
Output
Type: FILE_ENTRY
Properties
Name | Type | Description |
---|---|---|
extension | STRING | |
mimeType | STRING | |
name | STRING | |
url | STRING |
Output Example
Rotate Image
Name: rotateImage
Rotates an image by a specified degree.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | true | |
degree | Degree | INTEGER Options90, 180, 270 | Specifies the degree of clockwise rotation applied to the image. | true |
resultFileName | Result File Name | STRING | Specifies the output file name for the result image. | true |
Example JSON Structure
Output
Type: FILE_ENTRY
Properties
Name | Type | Description |
---|---|---|
extension | STRING | |
mimeType | STRING | |
name | STRING | |
url | STRING |