summaryrefslogtreecommitdiff
path: root/src/app/ssd1306-bad-apple/convert
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-02-10 22:11:25 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-02-10 22:11:25 +0100
commit467b1b587811a2091d04a5faab20d6430313cd51 (patch)
tree496f43b1b3ca16a1e0995267623914db4136e70c /src/app/ssd1306-bad-apple/convert
parentb5b506c97469f1917de4e7b7bd291f68b6d8d897 (diff)
rename ssd1306-bad-apple to bad-apple-msp430fr-ssd1306-128x64
Diffstat (limited to 'src/app/ssd1306-bad-apple/convert')
-rwxr-xr-xsrc/app/ssd1306-bad-apple/convert16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/app/ssd1306-bad-apple/convert b/src/app/ssd1306-bad-apple/convert
deleted file mode 100755
index 7d2ca0e..0000000
--- a/src/app/ssd1306-bad-apple/convert
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-# [size=WxH] ./convert.sh <file> -r <frame rate> [additional ffmpeg args]
-
-set -eu
-
-mkdir -p tmp
-
-ffmpeg -i "$@" tmp/frame%4d.png
-
-parallel mogrify -resize "${size:-128x64}" -threshold 50% -- tmp/*.png
-
-echo "const unsigned char frame_rate = $3;" > frames.cc
-./frames-to-cc tmp/*.png >> frames.cc
-
-rm -rf tmp