Open Sidebar
Close Sidebar
Crystal 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
struct
CrImage::
GrayscaleImage::
Pixel
CrImage::GrayscaleImage::Pixel
Struct
Value
Object
Defined in:
cr-image/grayscale_image.cr
Constructors
.new
(gray : UInt8, alpha : UInt8)
Instance Method Summary
#alpha
: UInt8
#clone
#copy_with
(gray _gray = @gray, alpha _alpha = @alpha)
#gray
: UInt8
Constructor Detail
def self.
new
(gray : UInt8, alpha : UInt8)
#
[
View source
]
Instance Method Detail
def
alpha
: UInt8
#
def
clone
#
[
View source
]
def
copy_with
(gray _gray = @gray, alpha _alpha = @alpha)
#
[
View source
]
def
gray
: UInt8
#