Wand colorize() function - Python Last Updated : 18 Oct, 2021 Comments Improve Suggest changes Like Article Like Report 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) Parameters : Parameter Input Type Description color wand.color.Color Color to paint image with. alpha wand.color.Color Defines how to blend color. Source Image: Example 1: Python3 1== # import Image with wand.image module from wand.image import Image # read image using Image() function with Image(filename ="koala.jpeg") as img: # generate colorized image img.colorize(color ="yellow", alpha ="rgb(10 %, 0 %, 20 %)") img.save(filename ="colorizedkoala.jpeg") Output: Example 2: Increase value of alpha. Python3 1== from wand.image import Image # read image using Image() function with Image(filename ="koala.jpeg") as img: # generate colorized image img.colorize(color ="yellow", alpha ="rgb(25 %, 0 %, 20 %)") img.save(filename ="colorizedkoala2.jpeg") Output: Comment More infoAdvertise with us Next Article Wand colorize() function - Python R RahulSabharwal Follow Improve Article Tags : Python Python-wand Practice Tags : python Similar Reads Wand color() function in Python color() function draws a color on the image using current fill color, starting at specified position & method. Uses same arguments as color() method. Following are PAINT_METHOD_TYPES. 'point' alters a single pixel.'replace' swaps on color for another. Threshold is influenced by fuzz.'floodfill' 2 min read Wand clahe() function - Python The clahe() function is an inbuilt function in the Python Wand ImageMagick library which is used to contrast limited adaptive histogram equalization. Syntax: clahe(width, height, number_bins, clip_limit) Parameters: This function accepts four parameters as mentioned above and defined below: width: T 2 min read Wand equalize() function - Python The equalize() function is an inbuilt function in the Python Wand ImageMagick library which is used to equalize the image histogram. Syntax: equalize(channel) Parameters: This function accepts single optional parameter as Channel-type.Return Value: This function returns the Wand ImageMagick object. 2 min read Wand border() function - Python The border() function is an inbuilt function in the Python Wand ImageMagick library which is used to apply the border around the image. Syntax: border(color, height, width) Parameters: This function accepts three parameters as mentioned above and defined below: Color: This parameter is used to speci 2 min read Wand blur() function - Python The blur() function is an inbuilt function in the Python Wand ImageMagick library which is used to blur the image. Syntax: blur(radius, sigma, channel) Parameters: This function accepts three parameters as mentioned above and defined below: radius: This parameter is used to specify the value of radi 2 min read Like