Bonsoir à tous.
Je suis sous Manjaro Linux avec la dernière version de ART.
Je me suis créé les fichiers nécessaires pour exporter mes photos en WEBP.
Tout fonctionnait très bien et bim, une fausse manipulation et mon home est parti en fumée. J’ai pu réccupérer mes fichiers mais pas les fichiers nécessaire pour exporter mes photos en WEBP.
Donc, je les ai recréé mais ART me sort l’erreur suivante :
Érreur d’enregistrement du fichier
Voilà mes fichiers :
Le fichier exr.txt
[ART ImageIO]
Extension=exr
ReadCommand=./magick-io.sh load
WriteCommand=./magick-io.sh save
Label=EXR (via ImageMagick)
Le fichier magick-io.sh :
#!/bin/bash
mode=$1
shift
if [ "$mode" = "load" ]; then
# loading: convert from the input to a floating-point tiff file
# resize if hints are given
sz="" if [ "$4" != "" -a "$3" != "0" -a "$4" != "0" ]; then
sz="-thumbnail $3x$4"
fi
magick convert "$1" $sz -colorspace sRGB -depth 32 -compress none "$2"
test -f "$2"
elif [ "$mode" = "save" ]; then
# saving: convert from floating-point tiff to the output
magick convert "$1" "$2"
if [ -f "$2" ]; then
# copy also the metadata with exiv2
exiv2 -ea- "$1" | exiv2 -ia- "$2"
fi
test -f "$2"
else
# unknown operating mode, exit with error
echo "Unknown operating mode \"$mode\"!"
exit 1
fi
Et le fichier webp.txt :
[ART ImageIO]
Extension=webp
ReadCommand=./magick-io.sh load
WriteCommand=./magick-io.sh save
Label=WebP (via ImageMagick)
Si quelqu’un peut m’aider ?
Merci.
Ignace.