@mikekaganski : Often bad results for fotos. You can increase the percentage of replacing a specific color; say from (given) 10 % to 50 %. If you are lucky it will have the desired results. The artifacts of JPG often refuse a good replacing (this depends also on compression rate of JPG; if the rate is around 80-100 percent, the artifacts mostly are quite faint).
.
When do I use the color replacer?
I often have to scan images/graphics/diagrams out of books or I take (JPG or PNG) images from “e-books”. Then I reduce the amount of colors (that depends, 8 - 64 colors) on XnView. After having reduced the colors it is often possible to change (background) colors into white (also transparency possible). Images of 13 MB (from scanner) then have 700 kB or less space (reduced amount of colors).