Hot answers tagged image
This does not probably work generally but it should give a correct result in your case. I captured your image above and saved it as "pngtest.png". I checked that it is a RGB png file with alpha channel. However, because it looks like a classified image I decided to try what happens if I convert it into a paletted tiff with GDAL tool rgb2pct.py ...
Only top voted, non community-wiki answers of a minimum length are eligible