diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2020-01-26 12:02:24 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2020-01-26 15:55:18 +0100 |
| commit | 8b1a693f9f8492f9a9e49aef6b3a64ace9e50e9d (patch) | |
| tree | 75e165d64e6758113151d10e871563ae428bc773 /magiccapture/run.sh | |
| download | magic-kindle-master.tar.gz magic-kindle-master.zip | |
Diffstat (limited to 'magiccapture/run.sh')
| -rw-r--r-- | magiccapture/run.sh | 4 |
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 |
