Skip to content
jtippet edited this page Mar 23, 2019 · 1 revision

ICO431: TooManyColorsForBitDepth

ICO files can contain bitmap files. The bitmap has a certain color depth that tells you how many different colors could be in that image. For example, a bitmap with 4-bit color can contain up to 16 colors.

You will receive ICO431 if you try to create an ICO frame that has more colors than are supported at the specified color depth. For example, you will receive ICO431 if you ask to create a 4-bit image, but provide an input that as 22 different colors in it.

To fix this, either reduce the number of colors in the source image, or specify a higher bit depth for the ICO frame.

Clone this wiki locally