---
id: fast-colors.quantizeconfig.maxiterations
title: QuantizeConfig.maxIterations property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [QuantizeConfig](./fast-colors.quantizeconfig.md) &gt; [maxIterations](./fast-colors.quantizeconfig.maxiterations.md)

## 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.

<b>Signature:</b>

```typescript
maxIterations: number;
```