pixels are fuct. somtimes it works, sometimes it fails. i can't reproduce the shit. how would you turn a full color its its n most distinct colors? how do you map that shit? because my tolerance technique doesn't do shit. horizontal lines.. retarded misscolored stuff. did i miscalculate? am i gonna get retarded again? tuff stuff everywhere.
ribz, i too fell in to the color quantization pit for similar reasons. the median cut algorithm is popular, as are octrees. use one of those to get your N colors, then the shortest geometric distance can between the table color and the source color is the best match. i think...i've not had much time to play with it yet.
Comments (6)