Resizing images for different devices

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
abanowBUSTfGf
Posts: 63
Joined: Sat Dec 22, 2012 3:01 am

Resizing images for different devices

Post by abanowBUSTfGf » Tue Jan 22, 2013 11:59 am

If I place an image on a card designed for an android phone screen then
Shrink the image and lock the size and position, will it expand in size
When opened on a larger screen eg. A samsung Galaxy tablet?
I want to use images that don't suffer in quality when expanded.
Any suggestions?

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Resizing images for different devices

Post by Klaus » Tue Jan 22, 2013 12:39 pm

Hi abanowBUSTfGf,

this is your N-th posting about possible screensize on ADROID devices and what you can do about it. 8)

Please understand that there is no universal recipe for this and you need to put a do of work (scripting)
to make your app look good on most screens.
abanowBUSTfGf wrote:If I place an image on a card designed for an android phone screen then
Shrink the image and lock the size and position, will it expand in size
When opened on a larger screen eg. A samsung Galaxy tablet?
Of course it will NOT, unless you script this behaviour!

Suggestions?
Use images that are as big as their biggest representation (1:1) on an ANDROID screen.

Means:
If the biggest screen size your are probably facing is. e.g. 1200*800 then a fullscreen
background picture should also have 1200*800 pixel in dimensions.
Use this image also for smaller screensizes and scale it accordingly!


Best

Klaus

abanowBUSTfGf
Posts: 63
Joined: Sat Dec 22, 2012 3:01 am

Re: Resizing images for different devices

Post by abanowBUSTfGf » Tue Jan 22, 2013 9:36 pm

There are dozens of android devices out there of varying screen sizes. How on earth does one program for all these variations?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Resizing images for different devices

Post by Simon » Tue Jan 22, 2013 9:52 pm

I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply