Skip to main content
Module

x/monke/mod.ts>Image#map

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

Apply a function on every pixel in the image

Parameters

fn: (c: Color) => Color