HexaCone/tools/build-gif89a.sh
Tonton Th 75d51755cb bla
2025-10-19 19:06:55 +02:00

28 lines
384 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 8 \
-dither none \
-resize '320x200!' \
-normalize \
-remap datas/ega-colors.png \
frames/$SEQ/?[012]*[369].png \
$GIF