Skip to content

Image Helper

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

NameLabelTypeControl TypeDescriptionRequired
imageImageFILE_ENTRYFILE_ENTRYtrue
qualityQualityNUMBERNUMBERCompression quality of the image.true
resultFileNameResult File NameSTRINGTEXTSpecifies the output file name for the result image.true

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT

Crop Image

Name: cropImage

Crops an image to the specified dimensions.

Properties

NameLabelTypeControl TypeDescriptionRequired
imageImageFILE_ENTRYFILE_ENTRYtrue
xX CoordinateINTEGERINTEGERThe horizontal starting point of the crop areatrue
yY CoordinateINTEGERINTEGERThe vertical starting point of the crop areatrue
widthWidthINTEGERINTEGERWidth of the crop areatrue
heightHeightINTEGERINTEGERHeight of the crop areatrue
resultFileNameResult File NameSTRINGTEXTSpecifies the output file name for the result image.true

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT

Get Image Metadata

Name: getImageMetadata

Get metadata of the image.

Properties

NameLabelTypeControl TypeDescriptionRequired
imageImageFILE_ENTRYFILE_ENTRYtrue
resultFileNameResult File NameSTRINGTEXTSpecifies the output file name for the result image.true

Image to Base64

Name: imageToBase64

Converts image to Base64 string.

Properties

NameLabelTypeControl TypeDescriptionRequired
imageImageFILE_ENTRYFILE_ENTRYtrue

Output

Type: STRING

Resize Image

Name: resizeImage

Resizes an image to the specified width and height.

Properties

NameLabelTypeControl TypeDescriptionRequired
imageImageFILE_ENTRYFILE_ENTRYtrue
widthWidthINTEGERINTEGERWidth in pixelstrue
heightHeightINTEGERINTEGERHeight in pixelstrue
resultFileNameResult File NameSTRINGTEXTSpecifies the output file name for the result image.true

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT

Rotate Image

Name: rotateImage

Rotates an image by a specified degree.

Properties

NameLabelTypeControl TypeDescriptionRequired
imageImageFILE_ENTRYFILE_ENTRYtrue
degreeDegreeINTEGERSELECTSpecifies the degree of clockwise rotation applied to the image.true
resultFileNameResult File NameSTRINGTEXTSpecifies the output file name for the result image.true

Output

Type: FILE_ENTRY

Properties

NameTypeControl Type
extensionSTRINGTEXT
mimeTypeSTRINGTEXT
nameSTRINGTEXT
urlSTRINGTEXT