Skip to main content
Module

x/monke/mod.ts>monochromeQ

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

Dither the image into monochrome Uses the same matrix as above

Parameters

pixels: Color[]
width: number