Median Cut Posterizer — reduces number of distinct colors in RGBA PNG