Search
Preparing search index...
The search index is not available
image-q
Options
All
Public
Public/Protected
All
Inherited
Menu
image-q
palette
NeuQuant
Class NeuQuant
Hierarchy
AbstractPaletteQuantizer
NeuQuant
Index
Constructors
constructor
Methods
quantize
quantize
Sync
sample
Constructors
constructor
new
Neu
Quant
(
colorDistanceCalculator
:
AbstractDistanceCalculator
, colors
?:
number
)
:
NeuQuant
Parameters
colorDistanceCalculator:
AbstractDistanceCalculator
colors:
number
= 256
Returns
NeuQuant
Methods
quantize
quantize
(
)
:
IterableIterator
<
PaletteQuantizerYieldValue
>
Returns
IterableIterator
<
PaletteQuantizerYieldValue
>
quantize
Sync
quantize
Sync
(
)
:
Palette
Returns
Palette
sample
sample
(
pointContainer
:
PointContainer
)
:
void
Parameters
pointContainer:
PointContainer
Returns
void
Exports
constants
conversion
distance
image
palette
quality
utils
Neu
Quant
constructor
quantize
quantize
Sync
sample
Generated using
TypeDoc