actual line wrapping
This commit is contained in:
parent
a13cfc3697
commit
fc630c6b55
2
stuff.sh
2
stuff.sh
|
@ -5,7 +5,7 @@ FILE=/tmp/$(date "+%Y-%m-%d-%H-%M-%S").png
|
||||||
LABEL_FILE=$FILE.label.png
|
LABEL_FILE=$FILE.label.png
|
||||||
text=$@
|
text=$@
|
||||||
|
|
||||||
convert -background white -fill black -pointsize 80 label:"$text" $LABEL_FILE
|
convert -background white -fill black -pointsize 80 -size 1000x caption:"$text" $LABEL_FILE
|
||||||
convert -gravity center $LABEL_FILE $STUFF_FILE +append $FILE
|
convert -gravity center $LABEL_FILE $STUFF_FILE +append $FILE
|
||||||
xclip -selection clipboard -t image/png -i $FILE
|
xclip -selection clipboard -t image/png -i $FILE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue