Posted By

ascarion on 12/15/08


Tagged

imagemagick convert


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

vasdee
jamesming


ImageMagick: Insert date into image


 / Published in: Bash
 

  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  

You need to login to post a comment.