OptimizedPNG is a project mainly written in OBJECTIVE-C and C, it's free.
Cocoa Library ro optimize external PNG to iOS optimized PNG on the fly.
Modified by Basuke. The MIT License
Original sources are came from: http://sonson-code.googlecode.com/svn/trunk/iPhone2.0/OptimizedPNG/