[ask]Image export quality

Monkey Targets Forums/Android/[ask]Image export quality

Origaming(Posted 2012) [#1]
Dress Up Android

Dress Up Flash


Dress Up Project is my learning project :D
my question, is there anything wrong? When I export image, there is white png appear. I was build for Android.

The PNG that I used was png-24 and I also use pngoptimimzer to decrease the size of the files.


Pet Days Out Android

Pet Days Out Flash


Pet Days Out
Do android build have an image quality controller ?


Cheers



Origaming


Origaming(Posted 2012) [#2]
ok, found something on android

http://stackoverflow.com/questions/8417608/awful-background-image-quality-in-android

already add this on MonkeyGame.java function loadBitmap:
opts.inPreferredConfig = Bitmap.Config.ARGB_8888;


still same, any advice ?



Cheers



Origaming


simonh(Posted 2012) [#3]
Does the same thing still happen if you don't use the png optimiser?


Origaming(Posted 2012) [#4]
yup, still same, i forgot to tell you that my background using jpg,,,
for the Pet Days Out, i'm not using png optimizer,,,



Cheers



Origaming


Origaming(Posted 2012) [#5]
already fix it


looks like JPG couldn't generate a gradient color. I already saved with a maximum quality and it appears the result same with PNG 24-bit

This is how I fix it :
save as PNG-8 bit with selective - noise 256 color

However the size goes up 8 times from normal JPG file. With PNG optimizer we can reduce it till 3 times from normal JPG file.

Thanks


Origaming