Skip to main content
Module

x/monke/src/quantize/popularity.ts>quantizeByPopularity

Color quantization and dithering in TypeScript.
Latest
function quantizeByPopularity
import { quantizeByPopularity } from "https://deno.land/x/monke@v1.0.2/src/quantize/popularity.ts";

Parameters

pixels: Color[]
extractCount: number

Returns

Color[]