Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Basically, I am creating a large iPhone game (with an overwhelming amount of 2d graphics).

I am concerned about the game file size.

Since the iPhone game will accept Retina and Normal display, we need 2 versions of each image (one HD and on normal). Therefore, it is necessary to resize our image files (it is not a good idea to resize the images in-game, an iPhone 3GS would have memory usage problems).

So my team is thinking about using Adobe Fireworks for the image creation, since it has that nice vector-resizing behavior without losing image quality (not-blurry on resize).

And it works alright.

But then I created an image that is pretty much the same in Adobe Photoshop, and it happened to be about 3x smaller in memory.

So naturally, there's something wrong with our Fireworks' files. How can I save my .png Firework file with the smallest memory size possible?

Note: the images require transparency.

share|improve this question
1  
Just remember, PNG is a zip-based lossless format. Further compression, while not affecting image quality, will significantly increase load times. –  Jordaan Mylonas Sep 12 '11 at 5:25

1 Answer 1

up vote 5 down vote accepted

How are you saving these PNG files from Fireworks? Fireworks uses PNG as its native file format, but adds meta-data to it (such as information about layers, effects etc.). This could be the reason why the Fireworks PNG files are larger than a PNG saved using Photoshop.

Since your iPhone app won't need any of the meta-information Fireworks stores, you should always use File > Export in Fireworks to export your assets. Similarly, use File > Save for Web & Devices in Photoshop.

While this should already result in considerably smaller PNG files, you could even further optimize them. Here's an excellent article about PNG optimization. Here's a ready to use tool for Mac and one for Windows (disclaimer: I never used the windows tool, but the Mac one can yield very good results).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.