Add quantizeColor() to ImageHelper