Edit image size
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Resizes an image to the provided width and/or height. If only one of the measurements are provided, the other will be adjusted based on the ratio of the image.

Common use cases

  • Content management

Category

  • Image

Inputs (what you have)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

Image file name

The name of the image file to be edited

Text

Yes

my image

Image Size Unit

The units of the image size

Text

Yes

Pixels

New Width

Desired new width of the image

Integer

No

500

New Height

Desired new width of the image

Integer

No

500

Image Link

If the source of the image is from the web or Google Drive, enter its link here

URL

No

https://images.app.goo.gl/Tb

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data Library. These variables in the Data Library are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

image file

Image file

File

Yes

edit.img

Outcomes

NAME

DESCRIPTION

Success

This status is selected if the image size was successfully edited

No Result

This status is selected in the event of the following scenarios:

- Any of the instructions or images to be edited are missing

Unsuccessful

This status is selected in the event of the following scenarios:

- Fail to login to account

- Application site is down

Requirements

  • N/A

Did this answer your question?