Mobile app version of vmapp.org
Login or Join
Ravi4787994

: Best ways of saving .png 2D game art for an iphone game? I'm currently working in illustrator CS5 creating 2d game art for iphone, and I'm just wondering about the best way to save the art

@Ravi4787994

Posted in: #AdobeIllustrator #Cs5 #Optimization #Png

I'm currently working in illustrator CS5 creating 2d game art for iphone, and I'm just wondering about the best way to save the art to still keep the quality but have low memory.

In save for web and devices, I choose .png, but I don't know if I need PNG24 or PNG8

Is there any other way after I save my files this way to reduce the memory? If I should for example use a sprite sheet. I have heard people say texture packer is good, but I don't know a whole lot about how it works and when it is best to use it.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi4787994

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie732

I don’t know the limitations of the iphone, but i think it is pretty similar to the web.

The compression of PNG is good for sharp text, but it has no options on how much you want to compress your image.

PNG 24 will be the way to go, if you have alpha-transparencies and a color palette which affords over 256 colors.
PNG 8 can be compared with GIF. You can use 256 colors and supports transparency, but no semi-transparent parts.

You have to chose what works best for you. I would recommend, that you use PNG 24 for images with fine details and a bigger color-palette and/or semi-transparent areas. If you still need a big color palette, but you don’t need semi-transparency and very fine details, then your best choice might be JPEG (if that is an option). Here you can fine tune your compression for the best file-size/quality ratio. And if you have files with a small color-palette and no semi-transparent areas, the best way to go would be PNG 8 or GIF.

Spritesheets are a good way to reduce the amount of file requests, so this might speed up the app as well.

There are plenty of image-optimization-tools. I am using the image compression feature of CodeKit at the moment, but there are other options. I have not tried enough to give a good advice here.

Edit: I just found a link to www.tinypng.org/ in my bookmarks. I haven’t tried it myself, but it is a free service, so you could give it a try.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme