Skip to main content
Module

x/monke/mod.ts>quantizeByPopularity

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

Parameters

pixels: Color[]
extractCount: number