summaryrefslogblamecommitdiff
path: root/tools/ci/scripts/icccheckfile.sh
blob: 1d490c6c0dc587182c815bce38cbd360282ebe6e (plain) (tree)
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