Shrink your graphics tip
scorelessmusic
Member Posts: 565
Hi all,
I just thought to post this handy tip on how to make your graphic files as tiny as possible to minimize your memory footprint.
You don't even need to download any software. Just use this website to make your PNGs puny. It really works well!
http://www.gracepointafterfive.com/punypng/
Hope this helps someone out there doing everything him/herself, like me.
I just thought to post this handy tip on how to make your graphic files as tiny as possible to minimize your memory footprint.
You don't even need to download any software. Just use this website to make your PNGs puny. It really works well!
http://www.gracepointafterfive.com/punypng/
Hope this helps someone out there doing everything him/herself, like me.
Comments
Process your whole image library and see what the total saving is, It's likely to be big!
Great post, thanks.
EDIT# Amazing look at the processed file compared to the original in TextEdit and see how bloated the PNG files are with 'junk' code. Again amazing!
I can see no difference in the graphics quality, I guess the code is just packed better and has no bloat!
http://gamesalad.com/wiki/faqs:game_elements#what_can_i_do_to_save_memory_on_images
I make it a habit to always run any png image I churn out through one of these processes, it really does reduce the bloat, and a few k shaved off here and there really add up!
(Just noticed that puny seems to do a better job than opti, but I guess a downloaded app is useful for those not always on the net)
http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/
and
http://www.smashingmagazine.com/2009/07/25/png-optimization-guide-more-clever-techniques/
(They are a little bit technical but I found them fascinating.)
You can also try the free Photoshop plug-in SuperPNG:
http://www.fnordware.com/superpng/
"It is faster than Adobe's own PNG plug-in and saves considerably smaller PNGs."
My full screen images at 8 Bit from a web export of Photoshop are running about 50-80 kb. I can live with that.
My 960x640px scene maps are around 300-400 kb. So far...not much drag on the game. Bad rules cause more damage than fat graphics.
Thanks for the tip though. Sometimes 10-20kb per image can add up if you need just a bit more room to stay under 20mb.