Skip to main content
Module

x/monke/mod.ts>twoRowSierraDither

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

Dither the image into a smaller palette Uses two-row Sierra matrix

Parameters

pixels: Color[]
width: number
palette: Color[]