This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/scripts/remove-letterbox.sh
2013-10-30 23:02:18 +01:00

14 lines
177 B
Bash

#!/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