made the example file more useful
This commit is contained in:
parent
475c435a18
commit
64cafa579a
2 changed files with 3 additions and 1 deletions
2
main.sh
2
main.sh
|
@ -20,7 +20,7 @@ SCRIPT_DIR="$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P)"
|
||||||
export SCRIPT_DIR
|
export SCRIPT_DIR
|
||||||
|
|
||||||
P_PATH="$SCRIPT_DIR/label.jpg"
|
P_PATH="$SCRIPT_DIR/label.jpg"
|
||||||
I_TEXT="$(cat "$SCRIPT_DIR"/text.pango 2>/dev/null || echo 'example text')"
|
I_TEXT="$(cat "$SCRIPT_DIR"/text.pango.example 2>/dev/null || echo 'example text')"
|
||||||
|
|
||||||
P_PATH="${PICTURE_PATH:-$P_PATH}"
|
P_PATH="${PICTURE_PATH:-$P_PATH}"
|
||||||
I_TEXT="${IMAGE_TEXT:-$I_TEXT}"
|
I_TEXT="${IMAGE_TEXT:-$I_TEXT}"
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
<i>Pretty example text with Pango</i>
|
<i>Pretty example text with Pango</i>
|
||||||
|
Find documentation here:
|
||||||
|
https://usage.imagemagick.org/text/#pango
|
||||||
|
|
Loading…
Add table
Reference in a new issue