Skip to main content
Edit image colour scheme
Wrk Product avatar
Written by Wrk Product
Updated over a year ago

Convert the colour scheme of a provided image to grayscale or black and white.

Common use cases

  • Data manipulation

  • Content management

Application

  • Media

Inputs (what you have)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

Image name

The name of the image file to be edited.

Text

Yes

image5

Image colour scheme

The colour scheme the image will be changed to.

Available options:

  • Black and White

  • Grayscale

Predefined Choice List

Yes

Grayscale

Image link

The image source link if the image has to be downloaded from the web or an image repository, such as Google Drive.

URL

No

https://wrk.com/wp-content/themes/wundertheme2022-child/assets/img/logo-dark.svg

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 section. These variables in the Data Library section are the outputs of previous Wrk Actions in the Wrkflow.

Examples

Initial image:

Black and white conversion result:

Grayscale conversion result:

Outputs (what you get)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

Image file

Edited image file

File

Yes

Edited_Image

Outcomes

NAME

DESCRIPTION

Success

This status is selected if the image was successfully converted to the provided colour scheme.

Unsuccessful

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

- The image could not be edited to the provided colour scheme

- The image to edit is not provided or inaccessible

Requirements

  • N/A

Did this answer your question?