Skip to main content

Edit an image

Written by Wrk Product
Updated this week

Edit an image by rotating, applying grayscale, cropping, and resizing. Supports JPG, JPEG, PNG, BMP, and TIFF formats.
​
Processing occurs in the following order: the image is first rotated if a rotation value is provided, then converted to grayscale if enabled, next cropped if cropping is turned on, and finally resized according to the specified width, height, and aspect ratio settings.

Application

  • Image

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Image file

The image file you are looking to edit. Supports JPG, JPEG, PNG, BMP, and TIFF. Example: file1.png

File

Yes

Rotate by degrees

The angle in degrees to rotate the image around its centre. Positive values rotate counter-clockwise, negative values rotate clockwise. Example: 15

Number with decimals

No

Apply grayscale?

If true, will modify the colour scheme of the image to Grayscale

True/False

No

Crop image?

If true, will crop the image using the provided coordinates

True/False

No

Resize image?

If true, will resize the image to the provided dimensions

True/False

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Edited Image

The file after it has been edited

File

Yes

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Impossible to complete

Requirements

  • N/A

Did this answer your question?