title: How to render an image on a device when the device does not support whole color the image have?
body: <p>I have a image need to display on a device, but this device only has 255 color (some device maybe less), for some color it does not support, does it choose a 'nearest' color? or some other way?</p>
  <p>As @CherryDT's comment, maybe use nearest color or dithering or just refuse to render, dose there other ways to handle it?</p>