From: http://summic.com/post/53/
Apple iPhone applicationsProgramThe PNG Image in is specially processed. A non-standard cgbi data segment is added after the PNG file header, and the image data in the idat segment does not have the traditional compressed data header or tail, in addition, red and blue are reversed, so that they cannot be used normally on Mac or windows.
Yang has done, first download this program: http://acquisition.dreamhosters.com/iPhonePNG.zip
Decompress the package and copy the onepng binary file to the/applications directory.
Assume that your image is under the./IMG directory and you want to convert it to The./decode directory,
Run the following command on the terminal:
$ Find./IMG-name "*. PNG"-exec/applications/iphonepng {}\;
By default, after the converted image is added with a suffix, it is placed in the same directory of the original image and moved in batches:
$ Find./IMG-name "* decoded.png"-exec MV {}./decode \;