!7 p { RGBImage img = loadImage(#1006358); showImage(new Image332(img).getBufferedImage()); final new MultiSet histogram; for (int rgb : img.pixels) histogram.add(to332String(rgb)); L l = histogram.highestFirst(); pnl(lookupToMap(l, histogram.asMap())); final int max = histogram.get(first(l)); printStruct(map from332(l)); showImage(mergeImagesVertically(allToRGBImage(map(l, func(S col) { imageFromInt(from332(col), max(1, iround(histogram.get(col)*100.0/max)), 30) })))); }