Sign In

$NQmapPixel[]

Maps the rgba-pixel in-place to the best-matching color in the color map

v1.2.1+ Requires Brackets

Usage

$NQmapPixel[;;;;]
Also callable as
$mapPixel

Arguments

NameTypeRequiredDescription
name
StringYesName of the NeuQuant instance
r
NumberYesThe red value
g
NumberYesThe green value
b
NumberYesThe blue value
a
NumberYesThe alpha value

Was this page helpful?