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.
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
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!
#create a folder to put reverted images in
#looping for png files in . or $1 parameter
for png in `find . -name '*.png'`
#pngcrush path with -revert-iphone-optimizations parameter
pngcrush -revert-iphone-optimizations $name RevertedImages/$name
Open Terminal, digit
and paste code.
Save file and use
chmod +x RevertedImages.sh
to execute file.
Execute file ./RevertedImages.sh.
In your RevertedImages folder now you have all valid images!