ImageMagick: Insert date into image


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. convert -pointsize 18 -font /path/to/font.ttf -fill white -stroke black -strokewidth 1 -draw "text 10,230 \"$(date "+%H:%M %d.%m.%Y"|sed -e ' s/\"/\\\"/g' )\"" source.jpg target.jpg

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.