import { ColorHistogram } from "https://deno.land/x/monke@v1.0.0/mod.ts";
Histogram of colors with reduced space Effectively quantizes the image into 32768 colors
Methods
add(color: Color, amount: number): number
get(color: Color): number
getQuantized(color: [number, number, number]): number
Static Methods
getColor(index: number): Color