I’ve make a program in JAVA for translate a image in code for LUA,
I work on ubuntu, in shell, this is a example command
$ ls | grep “Stance”
Stance1 (copy).PNG
Stance1.PNG
$ ls | grep “GPC”
GPC.class
GPC.java
$ java GPC P1S1 Stance1.PNG P1S1
(P1S1 = name of fichier with line code LUA,
Stance1.PNG = name + extension of image
P1S1 = name of image in LUA )
$ cat P1S1
(result is on http://spritesystem.posterous.com/ )