Click or drag to resize
ImageHelperOctreeQuantizer Constructor
Construct the octree quantizer.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public OctreeQuantizer(
	int maxColors,
	int maxColorBits
)

Parameters

maxColors
Type: SystemInt32
The maximum number of colors to return
maxColorBits
Type: SystemInt32
The number of significant bits
Remarks
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
See Also