In our current project, we are running into memory problems since we need to load too many image files. The current system is loading plain uncompressed Microsoft BMP files, so this is the obvious problem.
So, we are looking for a file format that
- is fast to parse (must run on an embedded Linux system)
- can read some part of the image without decoding the whole file
- uses lossless compression (no 8-bit color tables, please)
- includes a full alpha channel (not just a bitmask as in GIF)
- compiles and runs on Linux and Windows
- can be used in a commercial application (LGPL is fine)
- can be exported to using Photoshop
My first guess was PNG, but I am not sure if I can parse part of an image without decoding the whole file. Do you have any better idea or some experiences to share?