module CrImage::Operation::Brightness

Overview

Brightens an image (increases white value)

Taking sample image:

Woman with black turtleneck and white background
image.brightness(2.0)
Brightened sample image with value 2.0

Direct including types

Defined in:

cr-image/operation/brightness.cr

Instance Method Summary

Instance Method Detail

def brightness(value : Float64) : self #

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

[View source]