module

CrImage::Operation::HorizontalBlur

Blur an image along the horizontal axis

Taking sample image:

Woman with black turtleneck and white background
image.horizontal_blur(1).save("horizontal_1_sample.jpg")
image.horizontal_blur(5).save("horizontal_5_sample.jpg")
Blurred sample image with k 1 Blurred sample image with k 5

Instance methods

horizontal_blur(k : Int32) : self
Source
horizontal_blur!(k : Int32) : self
Source