Skip to content

Instantly share code, notes, and snippets.

@carlosmcevilly
Created September 17, 2012 18:26
Show Gist options
  • Save carlosmcevilly/3738912 to your computer and use it in GitHub Desktop.
Save carlosmcevilly/3738912 to your computer and use it in GitHub Desktop.
how to revert the iOS optimization of a png file
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -revert-iphone-optimizations -q otimized.png reverted.png
# or if Xcode is in a non-standard path:
"`xcode-select -print-path`"/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -revert-iphone-optimizations -q otimized.png reverted.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment