Skip to main content
Module

x/monke/mod.ts>monochromeDither

Get colors from image
Go to Latest
function monochromeDither
import { monochromeDither } from "https://deno.land/x/monke@v0.0.1/mod.ts";

Dither the image into monochrome

Parameters

pixels: Color[]
width: number