aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/image
diff options
context:
space:
mode:
Diffstat (limited to 'bin/image')
-rw-r--r--bin/image/shellrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/image/shellrc b/bin/image/shellrc
index a62dd70..bfbb030 100644
--- a/bin/image/shellrc
+++ b/bin/image/shellrc
@@ -8,7 +8,7 @@ image.vertical() {
8 fi 8 fi
9 9
10 ext=${1##*.} 10 ext=${1##*.}
11 convert "$@" +append $(basename -s .$ext $1)-$(basename -s .$ext ${@: -1}).${format:-$ext} 11 convert "$@" -append $(basename -s .$ext $1)-$(basename -s .$ext ${@: -1}).${format:-$ext}
12} 12}
13 13
14# Concatenate image horizontally 14# Concatenate image horizontally
@@ -19,7 +19,7 @@ image.horizontal() {
19 fi 19 fi
20 20
21 ext=${1##*.} 21 ext=${1##*.}
22 convert "$@" -append output.$ext 22 convert "$@" +append output.$ext
23} 23}
24 24
25# Export image with data url format 25# Export image with data url format