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