public OctreeQuantizer( int maxColors, int maxColorBits )
: base( false ) {
if( maxColors > 255 )
throw new ArgumentOutOfRangeException( "maxColors", maxColors,
"The number of colors should be less than 256" );
if( ( maxColorBits < 1 ) | ( maxColorBits > 8 ) )
throw new ArgumentOutOfRangeException( "maxColorBits", maxColorBits, "This should be between 1 and 8" );
// Construct the octree
octree = new Octree( maxColorBits );
this.maxColors = maxColors;
}