diff --git a/add-text-caption-to-image-with-imagemagick.md b/add-text-caption-to-image-with-imagemagick.md new file mode 100644 index 0000000..7bea869 --- /dev/null +++ b/add-text-caption-to-image-with-imagemagick.md @@ -0,0 +1,11 @@ +``` +convert input.jpg -font Liberation-Sans -fill white -undercolor '#00000080' -pointsize 14 -gravity NorthEast -annotate +5+5 "blablabla" output.jpg + +``` + +for my cangrow project + +``` +convert cangrow.jpg -font Liberation-Sans -fill white -undercolor '#00000080' -pointsize 14 -gravity NorthEast -annotate +5+5 "$(curl -s http://192.168.30.42/api/debug | jq -r '.grow[].GrowName') - $(date '+ %d.%m.%Y %T')" out.jpg + +``` \ No newline at end of file