Skip to content

Batch convert PNG files from iOS apps to normal PNG

Notifications You must be signed in to change notification settings

madcoda/pnguncrush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Batch convert PNG files from iOS apps to normal PNG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages