summaryrefslogtreecommitdiff
path: root/magiccapture/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'magiccapture/run.sh')
-rw-r--r--magiccapture/run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/magiccapture/run.sh b/magiccapture/run.sh
new file mode 100644
index 0000000..354c8b6
--- /dev/null
+++ b/magiccapture/run.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/bash
+
+node index.js
+convert screenshot/color.png -filter LanczosSharp -distort Resize 600x800 -colorspace sRGB -background black -gravity center -extent 600x800! -grayscale Rec709Luminance -colorspace sRGB -dither Riemersma -remap eink_cmap.gif -quality 75 -define png:color-type=0 -define png:bit-depth=8 screenshot/screenshot.png