Skip to main content
June 6, 2011
Question

Android Image Quality Help

  • June 6, 2011
  • 1 reply
  • 795 views

Hi All,

Just finished an app that I designed with multiple devices in mind so since the resolutions are all over the place I start with high res images and then they get scaled according to the screen size.

Works and looks great on iPhone 3g and iPhone 4 as well as iPad. Allow Image Smoothing seems to take care of all that.

However I am ready to port it over to the android platform and the app functions as it should but the images look horrible, there is massive pixelation on both PNGs with transparent backgrounds and on solid JPEGs Ive tried exporting for CPU, GPU, Auto and tried giving symbols "Export As Bitmap" "Cache as Bitmap" and "None" render modes.

Can you guys figure out how to solves this short of sizing all images to where they appear 1:1 ratio?

This topic has been closed for replies.

1 reply

June 6, 2011

Any help would be appreciated. If you guys cant solve that exact problem then please share your method for getting the images to looks crisp on android phones/tablets. Do you create all your images at a 1:1 ratio meaning an image that will appear at 100px wide on the screen will be created to be a 100px image in photoshop or whatever softwared you use? Do you ever create a 150px image and scale it down to be 100px in portrait view and 150px in landscape, for example?

relaxatraja
Inspiring
June 7, 2011

In our project, I just targeted the device resolution. If its a vector we can easily adjust the height and width of the object according to the stageWidth and stageHeight. If it is a bitmap we created a two different bitmaps (when having orientation) to display on different sizes. I never attempted to scaleDown the images. Also applied cacheAsBitmap for sprites and Matrix if have any transformations.

June 7, 2011

Well that is good advice although its a lot of extra work compared to the iPhone iPad process. I have been scaling images like crazy on the iOS platform and if the scale is within reason they look really crisp, this is how I am able to make the same exact app work on the iPhone and iPad.

Yesterday after I encounted this problem I tested the app on a different phone, Droid 2 Globabl also running Android 2.2 and the app looked sharp with no jagged edges, like its supposed to, so I am very confused now. The first phone I encounted this problem on was also using Android 2.2, it must be a hardware issue then, hopefully it wont be going forward.

We decided to go ahead and put the app out anyhow if you want to see the problem, or lack there of, for yourself you can find it at.

https://market.android.com/details?id=air.com.KelloggGarden.ProjectGuide

Let me know your results if you do check out the app.