Monday, May 19, 2008

How to stamp date on digital photos

Using a totally free command line tool jdatestamp, works in GNU/Linux and in Windows:

- get jdatestamp here (for windows click on jdatestamp-1.1-win32.zip)
- extract the zip archive somewhere (e.g. c:\programs\jdatestamp)
- put all the photos, which you want to stamp with the creation date, in one folder (e.g. "c:\pictures\orig")
- open command line (START->Run->cmd)
- in terminal window, type:
> cd c:\programs\jdatestamp
> jdatestamp -datefmt "@d.@m.%Y" -pointsize 40x -color goldenrod1 -trans 40 -outfile "c:\pictures\stamped\@f" "c:\pictures\orig\*.jpg"

- wait until the program finishes. You'll find stamped photos in "c:\pictures\stamped\" directory.

Short explanation:
- datefmt : date format string (date helper page here)
- pointsize : size of the text; if followed by "x" (e.g. 40x) the size is relative
- color : self explanatory (all possible colors here - basically you can choose any 24 bit color)
- trans : set the transparency of text


More detailded userguide here. Of course you can choose the options however you like.


This is what you get with the above options:

No comments: