Image limits

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Image limits

Post by LuMo »

hi! i just wondered, why i can't load one of my images to lua;
was seems it was too high...
531x178px
so i tried to make it wider instead of high... also failed
59x1602px
which means i have to load all images seperate?...
increases the filesize of about 12kb and adds me 8 files...

any ideas?
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: Image limits

Post by Shine »

Currently the image size is limited to 512 pixels with and 512 pixels height, because I've read that there are problems with larger images with the texture operations I'm using for blitting the images. I'll take a look at it, when I have some time, if this is really needed.
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

actually i do not blit images larger than 512, but would be nice to load em, just to copy parts of it and blit those parts (as you do in snake)
nevyn
Posts: 136
Joined: Sun Jul 31, 2005 5:05 pm
Location: Sweden
Contact:

Post by nevyn »

Personally I think it'd be great if the backends of LuaPlayer took care of images larger than 512x512 (by having multiple image instances behind the scenes), so that there'd be no limit to the size of Image instances. Perhaps this is better implemented as a lua library, though...
Post Reply