Skip to content

Instantly share code, notes, and snippets.

@ManuelTS
Created June 30, 2018 09:49
Show Gist options
  • Save ManuelTS/669b6fb21c3143b21f1187d18b665525 to your computer and use it in GitHub Desktop.
Save ManuelTS/669b6fb21c3143b21f1187d18b665525 to your computer and use it in GitHub Desktop.
The Android emulator can show this error "iCCP: Not recognizing known sRGB profile" multiple times. This command is a fix for all PNG files in your project structure. Inspired from https://gist.github.com/rupakraj/5e7e58a666282ca9c2f7
To resolve the errors for all PNG files from your project navigate in your top project folder and execute:
find . -name "*.png" -exec pngcrush -ow -rem allb -reduce {} +
If you want to know what all commands with their arguments do use the corresponding man pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment