How are images stored on the hard drive of an iPhone?
All the images are stored as jpegs in various locations. The camera roll, for example, is stored in /private/var/mobile/Media/ (unless they've moved it).