1 2 3 4 5 6 7
#!/usr/bin/env bash identify -verbose $1 | egrep -i "profile|iCCP" >/dev/null if [ "$?" == 0 ]; then echo "ICC or iCCP profile found for image $1" fi