Hi all,
here a trick to extract all images from App Store applications.
First of all, you need to syncronize your device with iTunes.
Next, go to Music/iTunes/iTunes Medi/App folder and copy your IPA apps to another folder.
- Rename .ipa to .zip and extract all contents.
- Navigate in your etracted zip, locate .app file and right-click -> View contents.
- Copy all images to another folder.
It’s not finished, because these images are not valid (optimize or encrypted, with size 0×0).
All images in ipa are optimized with a tool named pngcrush.
Wikipedia: http://en.wikipedia.org/wiki/Pngcrush
We can use pngcrush in reverse way to convert the invalid images in valid once.
PNGCRUSH generally is located in iPhoneOS.platform folder.
If you don’t know where is, open Terminal and type
1 | locate pngcrush ! more |
I made up a stupid script that loop all the images in a specified folder and then revert it to a valid png images!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/bash #create a folder to put reverted images in mkdir RevertedImages #looping for png files in . or $1 parameter for png in `find . -name '*.png'` do name=`basename $png` #echo $name #pngcrush path with -revert-iphone-optimizations parameter /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ pngcrush -revert-iphone-optimizations $name RevertedImages/$name done |
Open Terminal, digit
1 | vi RevertedImages.sh |
and paste code.
Save file and use
1 | chmod +x RevertedImages.sh |
to execute file.
Execute file ./RevertedImages.sh.
Well done!
In your RevertedImages folder now you have all valid images!

enjoy!
Ref: albertopasca.it



