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
module
StumpyGIF::MedianSplit
Defined in:
stumpy_gif/median_split.cr
Class Method Summary
.colors
(frames : Array(Canvas))
.max
(v1, v2)
.min
(v1, v2)
.min_max
(color, current)
.min_max
(list : Array(RGBA))
.split
(list : Array(RGBA), depth =
7
)
Class Method Detail
def self.
colors
(frames : Array(Canvas))
#
[
View source
]
def self.
max
(v1, v2)
#
[
View source
]
def self.
min
(v1, v2)
#
[
View source
]
def self.
min_max
(color, current)
#
[
View source
]
def self.
min_max
(list : Array(RGBA))
#
[
View source
]
def self.
split
(list : Array(RGBA), depth =
7
)
#
[
View source
]