~johanvandegriff/unix-shell-programming-revised-edition-programs

unix-shell-programming-revised-edition-programs/invert-image.sh -rwxr-xr-x 132 bytes
fc214385Johan Vandegriff added other old scripts, some newer ones too 1 year, 8 months ago
                                                                                
1
2
3
4
5
#!/bin/bash
input="$1"
output="$2"

convert "$input" -background white -flatten -negate -threshold 50% -transparent black "$output"