plotter_tools/threshold.sh

5 lines
134 B
Bash
Raw Normal View History

2021-03-16 23:31:08 +00:00
#!/bin/bash
# bash threshold.sh input value output
convert "${1}" -monochrome -white-threshold ${2} +matte -colors 4 -depth 2 "${3}"