Wand wave() function in Python Last Updated : 30 Mar, 2023 Comments Improve Suggest changes Like Article Like Report wave() function creates a wave like structure from top and bottom of the image. Creates a ripple effect within the image. We can change wavelength as well as amplitude of the image using amplitude & wave_length parameters in wave() function. Syntax : wand.image.wave(amplitude, wave_length) Parameters : ParameterInput TypeDescriptionamplitudenumbers.IntegerSets amplitude of wave.wavelengthnumbers.IntegerSets wavelength of wave. Source Image: Example 1: Python3 # Import Image from wand.image module from wand.image import Image # Read image using Image function with Image(filename ="koala.jpeg") as img: # rippled effect in image using wave() function img.wave(amplitude = img.height / 32, wave_length = img.width / 4) img.save(filename ="wkoala2.jpeg") Output : Example 2: Increasing amplitude and decreasing wavelength. Python3 # Import Image from wand.image module from wand.image import Image # Read image using Image function with Image(filename ="koala.jpeg") as img: # rippled effect in image using wave() function img.wave(amplitude = img.height / 24, wave_length = img.width / 8) img.save(filename ="wkoala2.jpeg") Output: Comment More infoAdvertise with us Next Article Wand flop() function in Python R RahulSabharwal Follow Improve Article Tags : Python Python-wand Practice Tags : python Similar Reads Wand wave() function - Python The wave() function is an inbuilt function in the Python Wand ImageMagick library which is used to alter an image along with a sine wave. It creates a ripple effect. Syntax: wave(amplitude, wave_length, method) Parameters: This function accepts three parameters as mentioned above and defined below: 2 min read Wand line() function in Python line() is another drawing function present in wand.drawing module. As the name implies line() function is used to draw a line in the image. line() function only need two arguments that are start and end point of the line that we want to draw. Syntax : wand.drawing.line(start, end) Parameters : Param 2 min read Wand flip() function in Python In this article we will learn what is flip() function. Basically this function returns a flipped image. Flip effect flips an image upside-down or creates an vertical reflection of image. No arguments are needed in this function. Syntax : wand.image.flip()Parameters : No Parameters in flip() function 1 min read Wand - blur() function in Python Blurring Image means making an image fuzzy or hazy. A blur image is indefinite and it is unable to see an image clearly. Blur is of many types, like - Adaptive blur, Gaussian blur, Selective Blur etc. In order to blur an image we use blur() function. blur() function takes three arguments. Example : 2 min read Wand flop() function in Python In this article we will learn what is flop() function. Basically this function returns a flipped image. Flop effect flops an image upside-down or creates an vertical reflection of image. No arguments are needed in this function. Syntax : wand.image.flop()Parameters : No Parameters in flop() function 1 min read Wand point() function in Python point() is another drawing function and simplest of all. point() function basically draw a point on a particular point on an image. It simply takes two x, y arguments for the point coordinate. Syntax : wand.drawing.point(x, y) Parameters: ParameterInput TypeDescriptionxnumbers.Realx coordinate of po 1 min read Like