module CrImage::Operation::HorizontalBlur

Overview

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

Direct including types

Defined in:

cr-image/operation/horizontal_blur.cr

Instance Method Summary

Instance Method Detail

def horizontal_blur(k : Int32) : self #

[View source]
def horizontal_blur!(k : Int32) : self #

[View source]