Changed quantize to be 256 colors and picking the top x colors from those in descending order