Skip to content

Instantly share code, notes, and snippets.

@xavierjurado
Created July 16, 2012 08:39
Show Gist options
  • Save xavierjurado/3121573 to your computer and use it in GitHub Desktop.
Save xavierjurado/3121573 to your computer and use it in GitHub Desktop.
Batch convert iPhone optimized PNG images to standard PNG images
find <path_to_source_directory> -name "*.png" -exec /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -d /tmp -q -revert-iphone-optimizations {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment