module CrImage::Operation::Contrast

Overview

Increases contrast of an image

Taking sample image:

Woman with black turtleneck and white background
image.contrast(20)
Contrasted image with value of 10

Direct including types

Defined in:

cr-image/operation/contrast.cr

Instance Method Summary

Instance Method Detail

def contrast(value : Float64) : self #

[View source]
def contrast!(value : Float64) : self #

[View source]