Lua Filter Gluas Compatible APIs

v = get_value(x, y)

set_value(x, y, v)

r, g, b = get_rgb(x, y)

set_rgb(x, y, r, g, B)

r, g, b, a = get_rgba(x, y)

set_rgba(x, y)

h, s, v = get_hsv(x, y)

set_hsv(x, y, h, s, v)

h, s, l = get_hsl(x, y)

set_hsl(x, y, h, s, l)

l, a, b = get_lab(x, y)

set_lab(x, y)

c, m, y, k = get_cmyk(x, y)

set_cmyk(x, y, c, m, y, k)

flush()

progress(v) // only a stub, progress is not shown in TwistedBrush