2.2. Reducing the File Size Even More

If you want to reduce the size of your image a bit more, you could convert your image to Indexed mode. That means that all of the colors will be reduced to only 256 values. Do not convert images with smooth color transitions or gradients to indexed mode, because the original smooth gradients are typically converted into a series of bands. Indexed mode is not recommended for photographs because after the conversion, they typically look coarse and grainy.

Figura 6.8. The indexed image

The indexed image

An indexed image can look a bit grainy. The left image is Wilber in its original size, the right image is zoomed in by 300 percent.


  1. Use the command described in Secció 6.3, “Mode” to convert an RGB image to indexed mode.

  2. After you convert an image to indexed mode, you are once again able to export the image in PNG format.