Colourizing Images

Modified on Wed, Dec 13, 2023 at 11:31 AM



To Colourize an image, use the following attributes in the status command of an

Image block:

colorize=hex color or block name

whitethreshold=number between 0 and 1 or blockname


Example:

colorize=#FF0000 whitethreshold=0.6


Threshold of 0.6 is the default if not specified.


Grayscale

To convert an image to grayscale, add grayscale or greyscale attribute in the

status command of an Image block.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article