Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cr-image
master
CrImage
BlackView
ChannelType
Color
ComplexMap
EdgePolicy
ErrorView
Exception
FftUtil
FloatMap
Format
JPEG
Open
PNG
PPM
Save
WebP
GrayscaleImage
Pixel
Image
IntMap
Map
MapImpl
Mask
NumericMap
OneMap
Operation
BilinearResize
BoxBlur
Brightness
ChannelSwap
Contrast
Crop
Draw
GaussianBlur
HistogramEqualize
Histogram
HorizontalBlur
MaskApply
Pad
Rotate
VerticalBlur
Region
RepeatView
RGBAImage
UInt8Map
Window
Pluto
ImageGA
ImageRGBA
StumpyCore
Canvas
Tutorial
ChromaKey
EdgeDetection
FindDifferences
Generated using Crystal 1.10.1
2024-03-02 08:12:55 UTC
module
CrImage::
Operation::
Contrast
Overview
Increases contrast of an image
Taking sample
image
:
image.contrast(
20
)
Direct including types
CrImage::GrayscaleImage
CrImage::RGBAImage
Defined in:
cr-image/operation/contrast.cr
Instance Method Summary
#contrast
(value : Float64) :
self
#contrast!
(value : Float64) :
self
Instance Method Detail
def
contrast
(value : Float64) :
self
#
[
View source
]
def
contrast!
(value : Float64) :
self
#
[
View source
]