module

CrImage::Operation::Brightness

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

Instance methods

brightness(value : Float64) : self
Source
brightness!(value : Float64) : self
Source