1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
#Создан: Вс 27 апр 2014 18:37:42 |
||||||
|
#Изменён: Вс 27 апр 2014 19:29:26 |
||||||
|
|
||||||
|
convert "$1" -resize x400 \ |
||||||
|
-gravity West -background white -splice 30x0 \ |
||||||
|
-gravity East -background white -splice 30x0 \ |
||||||
|
-gravity North -background white -splice 0x90 \ |
||||||
|
-gravity South -background white -splice 0x30 \ |
||||||
|
-gravity North \ |
||||||
|
-font "Helvetica" \ |
||||||
|
-pointsize 24 \ |
||||||
|
-draw "text 0,20 '$2'" \ |
||||||
|
-gravity North \ |
||||||
|
-font "Helvetica" \ |
||||||
|
-pointsize 17 \ |
||||||
|
-draw "text 0,55 '$3'" \ |
||||||
|
-gravity South \ |
||||||
|
-font "Helvetica" \ |
||||||
|
-pointsize 15 \ |
||||||
|
-draw "text 0,8 '$4'" "${1}_af.jpg" |
||||||
|
|
Loading…
Reference in new issue