Posted 28 September 2013 - 04:25 PM
So, I drew an image with the standard "paint" program, and saved it as "test". When I then go to the lua prompt and type "paintutils.drawImage('test',1,1)", expecting it to draw the image onscreen, it throws an error:
paintutils:94: attempt to get length of nil
I have tried different positions, different filenames, different drawings, and browsed through the API lightly, but I cannot find out why it does not work. Can anyone help me with this?
paintutils:94: attempt to get length of nil
I have tried different positions, different filenames, different drawings, and browsed through the API lightly, but I cannot find out why it does not work. Can anyone help me with this?