Add a Datestamp to Digital Photos
January 7th, 2009
I had a friend of mine that didn’t realize his “datestamp” feature on his digital camera wasn’t turned on when he took some pictures while out of town. He wanted to have that little neon date stamped on all the pictures so he would know when they were taken. Of course you could use Photoshop, but what fun is that? Using command line “mogrify”, a part of ImageMagick I believe, was a great solution.
Here is the basic command for a 3264×2448 image:
And even a step further, you could easily start with command above and put it in a loop to recurse directories of photos extracting the actual date the picture was taken from the EXIF info using jhead.
Here is the basic command for a 3264×2448 image:
mogrify \ -font /usr/share/fonts/truetype/msttcorefonts/arial.ttf \ -pointsize 96 \ -draw "gravity southeast fill orange text 275,150 '10.05.2008'" \ picture.jpg
And even a step further, you could easily start with command above and put it in a loop to recurse directories of photos extracting the actual date the picture was taken from the EXIF info using jhead.