Skip to main content
Version: 1.x

@microsoft/fast-colors > QuantizeConfig > maxIterations

QuantizeConfig.maxIterations property

If the quantization process goes on for more iterations than maxIterations it is aborted and the current results are returned. Only likely to happen in extreme edge cases with strange input.

Signature:
maxIterations: number;