Skip to main content
Version: 1.x

@microsoft/fast-colors > QuantizeConfig > significantBits

QuantizeConfig.significantBits property

Must be in the range [1,8]. Memory use increases as 4*2^(3*significantBits). Setting significantBits to 8 requires a 64 megabyte histogram.

Signature:
significantBits: number;