Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/packages/utilities/src/mod.ts>extractColors

Powerful machine learning, accelerated by WebGPU
Go to Latest
function extractColors
import { extractColors } from "https://deno.land/x/netsaur@0.4.0-patch/packages/utilities/src/mod.ts";

Extract colors from an image.

Parameters

image: Image
nColors: number