forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LUA image problem

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
ShockD



Joined: 29 May 2006
Posts: 4
Location: Plainfield, IL

PostPosted: Mon May 29, 2006 12:36 am    Post subject: LUA image problem Reply with quote

Hi. I've been using .jpg's for my background for something I am coding in LUA. Everything works fine with the windows LUA player but when I port it over to the PSP version, my background becomes filled with lines from the image. I am using a 659x512 image. I've tried reducing the size and resolution but the image is still distorted. If anybody here is willing to help me that would be great. Thanks.

ShockD
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon May 29, 2006 12:40 am    Post subject: Reply with quote

Maximum image size is 512x512.
Back to top
View user's profile Send private message
ShockD



Joined: 29 May 2006
Posts: 4
Location: Plainfield, IL

PostPosted: Mon May 29, 2006 1:35 am    Post subject: Reply with quote

Yeah that's what I was thinking too until this Altair guy claimed he used a 1000x1000 jpg fine without any errors. Oh well. Does this mean that I would have to splice up the image into different images? I am using that 659x512 image for a scrolling map.

Thanks for the reply,
ShockD
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon May 29, 2006 2:11 am    Post subject: Reply with quote

Yep.

I'd chop it in two and stitch it together with code, will look no different.
Back to top
View user's profile Send private message
Altair



Joined: 20 May 2006
Posts: 76
Location: The Netherlands

PostPosted: Mon May 29, 2006 8:49 am    Post subject: Reply with quote

Thats me. As i said at QJ forums, I use 1000x1000 JPG images of about 58 Kb. If you guys dont believe it you can either check it yourself or check my game (well not yet a full game i agree) REDaLUA. The map is 1000x1000.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group