diff --git a/scripts/remove-letterbox.sh b/scripts/remove-letterbox.sh new file mode 100644 index 00000000..e64c6977 --- /dev/null +++ b/scripts/remove-letterbox.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +process () { + x="$1"; + echo "$x"; + convert "$x" -fuzz 5% -trim +repage tmp && mv tmp "$x" +} + +while read x; do + process "$x"; +done +for x in $@; do + process "$x"; +done