Skip to main content
Module

x/monke/mod.ts>monochromeFs

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

Dither the image into monochrome Uses Floyd-Steinberg matrix

Parameters

pixels: Color[]
width: number

Returns

Color[]