From a480e3fcf165f2c201b9349573669d9698da42fe Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 23 Dec 2021 18:11:42 +0800 Subject: update --- alias | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'alias') diff --git a/alias b/alias index 64e2767..514a9f3 100644 --- a/alias +++ b/alias @@ -329,6 +329,18 @@ image.from_data_url() { xsel -ob | sed -E 's/^.+,//' | base64 -d >$1 identify $1 } +image.text() { + convert \ + -size 230x130 \ + -background lightblue \ + -font Noto-Sans-Bold \ + -pointsize 25 \ + -fill black \ + -gravity NorthWest \ + caption:"foo" \ + -flatten \ + caption1.jpge +} # thunderbird alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &' -- cgit v1.2.3-70-g09d2