Page 1 of 1

Image Resizing Pixelization

Posted: Thu Mar 21, 2013 4:14 pm
by joel.epsteinBUS31vi
Hi all -

I sure could use some help...

I'm working on an iOS application. I've got it working just great and everything is functioning beautifully within LiveCode. I have custom functions to handle resizing and they're working perfectly - the graphics resize just as I'd want, no matter what size I make the stage.

But here's where I have the problem:

When running the app in the simulator or the device itself, the graphics look absolutely horrible - all pixelated and jagged. I have tried setting the image quality to "best" and this helps some, but the images still don't look as good as they do in LiveCode. Plus, when I use this setting, the app become extremely laggy.

I would be ever so appreciative if someone could give me a pointer or two about how to deal with this problem.

Peace.

Joel

Re: Image Resizing Pixelization

Posted: Thu Mar 21, 2013 4:48 pm
by Klaus
Hi Joel,

yep, setting the "resizequality" to "best" will use a lot of cpu power = possible lag.
Be sure to only downsize your images, means use images at the highest resolution neccessary,
then using "good" resizequality should give good results.

If you already do this, sorry, no clever idea 8)


Best

Klaus

Re: Image Resizing Pixelization

Posted: Thu Mar 21, 2013 4:53 pm
by joel.epsteinBUS31vi
Thanks for the recommendation.

I'm a bit confused, though. Because the iPad Retina screen is 1536 x 2048. Seems like I should be using graphic at that size if I want them to look good for that screen. But that's a considerable waste for a standard 320 x 480 iPhone screen.

Any thought as to what the best middle ground would be?

Thanks.

Joel

Re: Image Resizing Pixelization

Posted: Fri Mar 22, 2013 11:27 am
by Klaus
Hi Joel,

I understand, but that is the way it works!

Ideally you supply 1:1 graphics for each resolution, which will look best, of course
and that is what Apple recommends!

If you do not want this you will need to do some tests with different sizes until you
are content with what you see :D

There is no "fit-for-all-situations" recipe for this unfortunately.


Best

Klaus