Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madcoda/pnguncrush
Batch convert PNG files from iOS apps to normal PNG
https://github.com/madcoda/pnguncrush
Last synced: about 1 month ago
JSON representation
Batch convert PNG files from iOS apps to normal PNG
- Host: GitHub
- URL: https://github.com/madcoda/pnguncrush
- Owner: madcoda
- Created: 2013-09-09T09:58:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-09T10:24:21.000Z (over 11 years ago)
- Last Synced: 2024-10-20T00:58:13.433Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 105 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pnguncrush
==========convert PNG files from iOS apps to normal PNG
I'm not a iOS developer, but I once need to extract some images from an exisiting iPhone App, this is a
little shell scipt that helps me.## Usage
git clone https://github.com/madcoda/pnguncrush.git
# move the tool to where you want
cd ./pnguncrush
mv ./convert /path/to/your/pngs/
# make sure it's executable
cd /path/to/your/pngs/
chmod +x ./convert
# convert all the pngs in the folder
./convert *.png
Now you can find the converted PNGs in the "converted" folder## Requirements
- Install XCode from App Store## How do I get this command
A lot of QAs on the internet points me to use a tools in /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush
which I don't have on my Mac. In this Apple's Q&A it uses a tools "xcrun" which works for me. The command is found in
https://developer.apple.com/library/ios/qa/qa1681/_index.html. This script is only the "loop" version of it for ease of use.