pico-epaper/convert_image.sh

12 lines
172 B
Bash
Executable File

#!/bin/bash
# additional options:
# -posterize 3
SRC=$1
DST=$2
shift 2
convert "$SRC" $@ -resize 600x448 -dither FloydSteinberg -type Palette -remap palette.bmp "$DST"