Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/monke/src/dither/mod.ts>monochromeQ

Color quantization and dithering in TypeScript.
Go to Latest
function monochromeQ
import { monochromeQ } from "https://deno.land/x/monke@v1.0.1/src/dither/mod.ts";

Dither the image into monochrome Uses the same matrix as above

Parameters

pixels: Color[]
width: number