summaryrefslogtreecommitdiff
path: root/magiccapture/run.sh
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2020-01-26 12:02:24 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2020-01-26 15:55:18 +0100
commit8b1a693f9f8492f9a9e49aef6b3a64ace9e50e9d (patch)
tree75e165d64e6758113151d10e871563ae428bc773 /magiccapture/run.sh
downloadmagic-kindle-8b1a693f9f8492f9a9e49aef6b3a64ace9e50e9d.tar.gz
magic-kindle-8b1a693f9f8492f9a9e49aef6b3a64ace9e50e9d.zip
Import into gitHEADmaster
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