Skip to main content

Edit image colour scheme

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)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Image nameThe name of the image file to be edited.TextYesimage5
Image colour schemeThe colour scheme the image will be changed to.Available options:Black and WhiteGrayscalePredefined Choice ListYesGrayscale
Image linkThe image source link if the image has to be downloaded from the web or an image repository, such as Google Drive.URLNohttps://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)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Image fileEdited image fileFileYesEdited_Image

Outcomes

NAMEDESCRIPTION
SuccessThis status is selected if the image was successfully converted to the provided colour scheme.
UnsuccessfulThis 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