Note: Miro is using imagemagick's quantize method to reduce colors