HexaCone/tools/build-gif89a.sh
2025-10-19 06:31:44 +02:00

27 lines
372 B
Bash
Executable File

#!/bin/bash
set -eu
# retour aux vieilles pratiques : la Gif animée.
# c'est une nouveauté du 18 octobre 2025
SEQ="essai"
if [ $# == 1 ] ; then
SEQ=$1
fi
GIF="t-$SEQ.gif"
echo "seq $SEQ -> $GIF" | tee -a WS/log
convert \
-delay 10 -dither none \
-resize 40% \
-colorspace gray -normalize \
-colors 14 \
frames/$SEQ/?[012]*[369].png \
$GIF