|
|
@@ -42,7 +42,7 @@ function screenres() { |
|
|
|
|
|
|
|
function run() { |
|
|
|
echo "$@" |
|
|
|
"$@" |
|
|
|
"$@" || exit 1 |
|
|
|
} |
|
|
|
|
|
|
|
function main() { |
|
|
@@ -82,7 +82,7 @@ function main() { |
|
|
|
shift |
|
|
|
done |
|
|
|
|
|
|
|
run convert -respect-parenthesis "$INDIR/panorama.png" -resize "${off}x${maxh}^" "${splitargs[@]}" "jpg:/dev/null" |
|
|
|
run convert -respect-parenthesis "$INDIR/panorama.png" -gravity Center -resize "${off}x${maxh}^" -crop "${off}x${maxh}+0+0^" "${splitargs[@]}" "jpg:/dev/null" |
|
|
|
fi |
|
|
|
|
|
|
|
run convert -respect-parenthesis -size "$(screenres)" 'xc:#000000' "${joinargs[@]}" "$all" |