Support Indexed png's to reduce download size for apps with illustrations

  1. This would help a great deal to reduce the download size for apps that use illustrations, especially since most illustrations do not use a full color spectrum like a photography would.

  2. The indexed png size is on average 10-16% of the original full png, which I am sure the expert team of the engineers at ansca is aware.

  3. This would also help with download over 3G, for iPhone it is 20M cap on apps.

Thanks for a great product and look forward to some of my feature requests being supported.
[import]uid: 67589 topic_id: 14759 reply_id: 314759[/import]

I would recommend using jpegs, which Corona does support. [import]uid: 8444 topic_id: 14759 reply_id: 54581[/import]

Jpeg’s don’t support transparency, so it’s not feasible for my usecase. [import]uid: 67589 topic_id: 14759 reply_id: 54607[/import]

JPGs also have poor handling of high frequency edges, so in particular for vector-style line drawings with high contrast (B&W drawings), JPG is the worst format possible. [import]uid: 44812 topic_id: 14759 reply_id: 54610[/import]

By indexed png’s do you mean saving a png file as indexed via photoshop for example ?

If so I always do that and Corona supports them fine. [import]uid: 84637 topic_id: 14759 reply_id: 54612[/import]

It doesn’t actually. It is documented in Ansca’s api’s under Image guidelines.

http://developer.anscamobile.com/reference/index/displaynewimage
“Indexed PNG images are not supported.”
[import]uid: 67589 topic_id: 14759 reply_id: 54621[/import]

I love anything that reduce binary’s size, including image compression.

Since Indexed PNG doesnt work at the moment, we usually use like http://pnggauntlet.com/ to squeeze every little bit of our png images. [import]uid: 41267 topic_id: 14759 reply_id: 54668[/import]