Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/monke/src/util/recolor.ts>recolor

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

Recolor the image without dithering

Parameters

pixels: Color[]
palette: Color[]