HexaCone/tools/build-gif89a.sh
2025-10-21 14:45:49 +02:00

28 lines
385 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 6 \
-dither none \
-equalize \
-resize '320x240!' \
-remap datas/ega-16colors.png \
frames/$SEQ/?[012]*[369].png \
$GIF