module CrImage::Operation::BoxBlur

Overview

Blurs the image

Taking sample image:

Woman with black turtleneck and white background
image.box_blur(1).save("blurred_1_sample.jpg")
image.box_blur(5).save("blurred_5_sample.jpg")
Blurred sample image with value 1 Blurred sample image with value 5

Direct including types

Defined in:

cr-image/operation/box_blur.cr

Instance Method Summary

Instance Method Detail

def box_blur(value : Int32) : self #

[View source]
def box_blur!(value : Int32) : self #

[View source]