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

version(IM)
extern @nogc nothrow
int
imPaletteUniformIndexHalftoned
(
c_long color
,
int x
,
int y
)

Meta