Colorized Image refers to image that is blended with a particular color. In order to generate a colorized image we use colorize() function in python Wand. colorize() function blends an image with a constant color. It takes two parameters color and alpha.
Syntax :wand.image.colorize(color, alpha)
Parameter Input Type Description color wand.color.Colorl Color to paint image with. alpha wand.color.Color Defines how to blend color.
Increase value of alpha.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.