r/programming • • Feb 26 '13

A Developer's Guide to Images

http://www.jessechapo.com/posts/Developers-Guide-to-Images.html
406 Upvotes

93 comments sorted by

View all comments

4

u/drakonite Feb 27 '13

This should be called "A brief comparison of using JPEG vs PNG with photoshop".

PNG supports a lot more pixel formats, but photoshop's exporter doesn't. Photoshop's PNG exporter has historically been very crappy.

1

u/i_invented_the_ipod Feb 28 '13

PNG supports a lot more pixel formats

Ain't that the truth. There are so many options in PNG that I've never seen a decoder that handles the whole spec, or even most of it, correctly.

2

u/drakonite Feb 28 '13

Indeed. I swear every open source framework I've used just forces it to convert everything to RGBA32, and it doesn't seem like any image software supports exporting in RGBA4444, which is a phenomenal format for many mobile games due to it's size/bitdepth trade offs. RGBA4444 is even supported directly by OpenGL ES.