Skip to main content
Module

x/monke/src/dither/quick.ts

Color quantization and dithering in TypeScript.
Latest
import * as monke from "https://deno.land/x/monke@v1.0.2/src/dither/quick.ts";

Functions

Dither the image into a smaller palette Starts from the mid point of the image I have no idea why I did this

Dither the image into monochrome Uses the same matrix as above

Dither the image into a smaller palette Uses a quick, two-row dither. Creates a column pattern. Use Floyd-Steinberg or Sierra to avoid patterns.