VOCC / vocc

A web-based Gameboy Advance image editor and converter
9 stars 5 forks source link

Color palette changes size when importing a specific image #35

Closed lbussell closed 4 years ago

lbussell commented 4 years ago

This is the image in question:

gatech.png

I think that the quantize algorithm returns a palette that is too large, and the palette has no restrictions on size, so it constructs and draws a palette that's too big.

JohnBeckner commented 4 years ago

Quantize: Limited paletteColorArray to length of 256