PDA

View Full Version : Image.load error in LUA



KunoNoOni
June 27th, 2006, 20:48
would there be a reason that I can't load a .png file that is 826 pixels in width? The width of the psp is 480 pixels but I've been able to load other .png files with a larger width, but only the 826 one gives me a problem.

The error I get is: Image.load: Error loading image.

the image is 11k if this helps any.

jman420
June 28th, 2006, 05:23
its probobly just a simple error, did you try cropping it to 40x272 and blitting it?
it might just work if its sized properly, otherwise you'll need to re-save the pic as PNG

KunoNoOni
June 28th, 2006, 21:12
yeah I'm beginning to think its a size issue with the pic as it won't load in c either.