image-rs / color_quant

Color quantization library
MIT License
35 stars 16 forks source link

bug: bad sampling with 500x500 image due to prime numbers #19

Open Eywek opened 2 years ago

Eywek commented 2 years ago

Hello,

I'm using this library and I've recently encountered an issue with a 500x500 image. It seems that it's caused by the size of my image, because scaling down to 300x300 fix the issue.

You can see more explanation here https://stackoverflow.com/a/33723556

Have you ever encountered this issue?

Thank you