I couldn’t get the filmstrips working so I switched to the format that all the animations on the micro SD currently have. Updated script:
#!/bin/bash
GIF="$1"
TMPDIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'gifconvert')
# Get frame count for gif - last frame is n-1
#FRAMES=$(identify -format %n "$GIF")
# Pull full frames from gif
#convert "$GIF" -resize 16x16\! -coalesce -type truecolor $TMPDIR/%d.bmp
convert "$GIF" -coalesce -type truecolor $TMPDIR/%d.bmp
#montage $TMPDIR/*.gif -mode concatenate -type truecolor -tile 1x "$(echo "$GIF" | sed 's/\.[gG][iI][fF]$/\.bmp/')"
mkdir "$(echo "$GIF" | sed 's/\.[gG][iI][fF]$//')"
cp $TMPDIR/*bmp "$(echo "$GIF" | sed 's/\.[gG][iI][fF]$//')"
ls -l "$(echo $GIF | sed 's/\.[gG][iI][fF]$//')"
I’ve attached a few sets up bmp files I’ve put together so far.
Attachments:
You must be
logged in to view attached files.