Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
stumpy_gif
v0.2.1
StumpyGIF
ColorTable
Extension
GraphicControl
Netscape
Image
ImageDescriptor
LogicalScreenDescriptor
LZW
MedianSplit
NeuQuant
NeuQuantEntry
Websafe
Built with Crystal 1.9.2
2023-10-08 02:38:10 UTC
class
StumpyGIF::ColorTable
StumpyGIF::ColorTable
Reference
Object
Defined in:
stumpy_gif/color_table.cr
Constructors
.new
Instance Method Summary
#closest_index
(color)
#colors
: Slice(RGBA)
#colors=
(colors)
#write
(io)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
closest_index
(color)
#
[
View source
]
def
colors
: Slice(RGBA)
#
[
View source
]
def
colors=
(colors)
#
[
View source
]
def
write
(io)
#
[
View source
]