Script linux pour voir si une image contient un profil ICC embarqué
Bonjour,
voici un petit script pour Linux permettant de voir si une image contient un profil ICC embarqué et d'en donner le nom.
Le script utilise exiftool.
A enregistrer et nommer dispicc, puis faire un chmod +x dispicc
Ensuite : ./dispicc maphoto.jpg
A +
RB
#!/bin/sh
# Tells if an image contains an embedded ICC profile
RES=`/usr/bin/exiftool $1 | grep 'Profile Description'`
if [ "$RES" = "" ]; then
echo
echo "No embedded ICC profile!"
echo
else
echo
echo $RES
echo
fi