Skip to main content
Module

x/monke/mod.ts>monochromeFs

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

Dither the image into monochrome Uses Floyd-Steinberg matrix

Parameters

pixels: Color[]
width: number