imPaletteUniformIndexHalftoned

Returns the index of the correspondent RGB color of an uniform palette. * Uses an 8x8 ordered dither to lookup the index in a halftone matrix. * The spatial position used by the halftone method. * * \verbatim im.PaletteUniformIndexHalftoned(color: lightuserdata, x: number, y: number) -> index: number [in Lua 5] \endverbatim * \ingroup palette

extern (C) @safe nothrow
int
imPaletteUniformIndexHalftoned
(
long color
,
int x
,
int y
)

Meta