OctreeQuantizer.OctreeQuantizer Constructor

Namespace:
Weavy.Core.Imaging
Assembly:
Weavy.Core.dll

OctreeQuantizer(int, int)

Construct the octree quantizer

The Octree quantizer is a two pass algorithm. The initial pass sets up the octree, the second pass quantizes a color based on the nodes in the tree

public OctreeQuantizer(int maxColors, int maxColorBits)

Parameters

maxColors
int

The maximum number of colors to return

maxColorBits
int

The number of significant bits