Search
Preparing search index...
The search index is not available
image-q
Options
All
Public
Public/Protected
All
Inherited
Menu
image-q
palette
NeuQuantFloat
Class NeuQuantFloat
Hierarchy
AbstractPaletteQuantizer
NeuQuantFloat
Index
Constructors
constructor
Methods
quantize
quantize
Sync
sample
Constructors
constructor
new
Neu
Quant
Float
(
colorDistanceCalculator
:
AbstractDistanceCalculator
, colors
?:
number
)
:
NeuQuantFloat
Parameters
colorDistanceCalculator:
AbstractDistanceCalculator
colors:
number
= 256
Returns
NeuQuantFloat
Methods
quantize
quantize
(
)
:
Generator
<
PaletteQuantizerYieldValue
,
void
,
undefined
>
Returns
Generator
<
PaletteQuantizerYieldValue
,
void
,
undefined
>
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
Float
constructor
quantize
quantize
Sync
sample
Generated using
TypeDoc