Image quality problem.
patrykadas
Member Posts: 24
Hello!
I've got big problem with the retina display. I thought I made everything correctly, but I was really suprised when I saw my game on ipad.
Here is the source file:
https://www.dropbox.com/s/wfe90tkavi23vcu/5_bg.jpg
And here is the screenshot from the game:
https://www.dropbox.com/s/6d938p54h83hxdc/zdjęcie (2).PNG
Is there anything I could do to improve graphic's quality in the gamesalad? Should everything be saved as PNG?
It looks horrible right now.
I've got big problem with the retina display. I thought I made everything correctly, but I was really suprised when I saw my game on ipad.
Here is the source file:
https://www.dropbox.com/s/wfe90tkavi23vcu/5_bg.jpg
And here is the screenshot from the game:
https://www.dropbox.com/s/6d938p54h83hxdc/zdjęcie (2).PNG
Is there anything I could do to improve graphic's quality in the gamesalad? Should everything be saved as PNG?
It looks horrible right now.
Comments
Have you saved your image in 72 dpi? If not, that might be the problem.
First up, don't save stuff as JPEGs, JPEG is a lossy format (caveats accepted).
To solve the banding issue:
1) In Photoshop make sure your image is a layer (double click 'background' to make it 'Layer 0')
2) Using the marque tool select a single pixel (in a corner - out of the way is good).
3) Select the eraser tool.
4) Set the eraser tool to low value, 10% will do for now.
5) Using the eraser tool, erase within your marque selection - so you remove a little of the opacity of this one pixel.
6) Save as a .PSD file
7) Import into GameSalad and use as normal.
Result - banding gone !
I haven't known that you can import .psd files, good to know!
Anyway, PNGs or PSD are not an option for backgrounds, as their weight is something around 5mbs, I will simply noise them a lot. I thought at first that there is some kind of magic switch in gamesalad, as these are my beginnings with that program.
Thanks anyway!
When you import PSD files GameSalad converts them to PNG.
When you import JPEG files GameSalad converts them to PNG.
When you import PNG files GameSalad imports them as PNG.
So, you won't be saving anything in that regard as whatever you import it will just end up as a PNG.
When you add noise to an image expect its file size to increase - depending on the nature of your starting image this can be as much as a ten fold increase ! (x10!) - flatter, more graphic images suffer the worst, complex, busy images less so - unfortunately it's the flatter more graphic images that tend to show banding.
Plus adding noise makes your image look grainy, which you might not want.
The trick in my post above forces the iOS device to read your file as 24bit - without an alpha channel (even if unneeded) all the noise adding and resolution changing in the world won't help the fact that the iOS device thinks it's working with an 8bit file.
tl;dr
Adding noise = noisy image + large file size + some banding.
Force 24bit trick = clean image + smaller size + no banding.
Wow. I haven't known that.
You mean - with the alpha channel? I make one px of the image transparent.
It's good that I am at the beginning of my project.
>-
Yep, just that solution is something new for me. Just to be sure:
https://www.dropbox.com/s/apyukjn3hwe64hs/pixel.jpg
Have I understood it correctly? Make one pixel within the image 90% opacity.
Thank you, once again.
Don't change the opacity of the layer, just a single pixel.