I got a invalid image size error when i tried to create a new image of 512X512. I thought luaplayer supported this resolution?
Loading a 512X512 png works though
invalid image size
Moderators: Shine, Insert_witty_name
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands
invalid image size
Behold! The Underminer got hold of a PSP
Re: invalid image size
I've noticed this as well - Lua Player will not load images over 512x512. Just use multiple images stored next to eachother. This must be a game application right ;) ?the underminer wrote:I got a invalid image size error when i tried to create a new image of 512X512. I thought luaplayer supported this resolution?
Loading a 512X512 png works though
PP121494863-PSP1001
www.illfoundedmind.com
www.illfoundedmind.com
-
- Posts: 24
- Joined: Fri Feb 17, 2006 5:08 am
-
- Posts: 31
- Joined: Sat Mar 04, 2006 1:35 am
I actually have this code:
and I get that same invalid size error. And that code is bulletproof I tells ya. BULLETPROOF! :P
Code: Select all
if xx > 480 then xx = 480 end
if yy > 272 then yy = 272 end
menuImg = Image.createEmpty(xx, yy)
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands
-
- Posts: 24
- Joined: Fri Feb 17, 2006 5:08 am