lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 31/05/2013 18:14, meino.cramer@gmx.de wrote:
> Hi,
> 
> is there any lua image processing library / tool / etc. to extract 
> all colors from an (not necessarily indexed) image, sort the color 
> by either hue, saturation or value and generate another image with
>  all these colors lists?
> 
> Since I may have to rearrange the colors in the output I want that
>  in lua code.
> 
I don't know of any pure lua library, but I have successfully used
Leptonica (which includes the function you describe) via the LuaJIT FFI.

Finn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRqRhdAAoJEHp3pOlF38H/ccMH+gK8MajXQYyCNQT3IDXLyBGW
m5dBz/jKTAB38wRI6C1VzaNgy0KfWnObxRJgK2lBm2ADmmo27wT558PMffaVCrMi
NktfgUGl8t70Kr55w1v/J8FW5VN749YsBeLpN7Hz6oVecync9v5RnHvITkFURLQV
1wAH7ks4+2b6FNBtUUL8RcxgTEXIdAnW33Lw5M1euQK4bjcAXypEZw2nqgmiCkBR
CHyPbHn9lMwGOtTH2XU/c4h748nF5i6s43Cr3DwuEXGMcVhN4ZNDRfxtjjQ4pAXS
tuMPvjl/tWBdF2obe7PPHx4wGyQju1CWOS4xND6RE37R0jEMgN0TNNisZba9nIo=
=BqsB
-----END PGP SIGNATURE-----