Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Want to add Timestamp to digital photos.

  1. #1
    Join Date
    Apr 2009
    Beans
    68
    Distro
    Ubuntu 10.04 Lucid Lynx

    Want to add Timestamp to digital photos.

    I prefer to have no timestamp on my photos, but my parents like to have them because they can see when the photo was originally taken when inside their photo album. My camera(the Canon a540) automatically saves the date and time the photo was taken to the jpeg, but it does not show as a timestamp on the photo, which is good. In order to make both my parents and I happy, I'd have to add the timestamps before developing. Is there software that allows me to batch add timestamps to the photos(Sometimes more than 300 at a time), preferably open source/linux compatible? It is also ok if it is windows compatible. That would be much easier than manually entering the date to the photos in a text box.

  2. #2
    Join Date
    Nov 2007
    Location
    Hungary
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Want to add Timestamp to digital photos.

    Do you mean something like this? : Picture with Exif data
    I found a bash script that will help you: adding exif data to picture with imagemagick

  3. #3
    Join Date
    Jan 2009
    Location
    India
    Beans
    106
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Want to add Timestamp to digital photos.


  4. #4
    Join Date
    Apr 2009
    Beans
    68
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Want to add Timestamp to digital photos.

    Quote Originally Posted by arky View Post
    I tried doing what the site said in windoes, but I keep getting this error message.
    'CHOICE' is not recognized as an internal or external command,
    operable program or batch file.
    Missing operand.
    'identify' is not recognized as an internal or external command,
    operable program or batch file.
    Missing operand.
    Could Not Find C:\Documents and Settings\Mom\My Documents\dttempfile
    Processing C:\Documents ...
    Invalid Parameter - -gravity
    No files processed
    What am I doing wrong? I'm using the newest version of Imagemagick.

  5. #5
    Join Date
    Apr 2009
    Beans
    68
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Want to add Timestamp to digital photos.

    anyone?

  6. #6
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Want to add Timestamp to digital photos.

    Quote Originally Posted by blackbird3216 View Post
    anyone?
    I don't know anything about Windows batch programs, but the following shell script will do what you want:

    Code:
    #!/bin/bash
    
    for file in *.JPG ; do
       convert "$file" -font arial.ttf \
          -pointsize 72 -fill white -annotate +100+100  \
          %[exif:DateTimeOriginal] "new-${file}"
    done
    If the font you use is not in your path, you will have to include the path in the command. With a large number of files, this command may take a while. I tested the shell script on a group of ten photos and it worked fine.
    Last edited by kaibob; August 14th, 2009 at 12:44 AM. Reason: Modified to address arky's concerns.

  7. #7
    Join Date
    Jan 2009
    Location
    India
    Beans
    106
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Want to add Timestamp to digital photos.

    Hardcoding paths in script is a bad idea.

    Copy the arial.ttf to your .fonts folder that way you don't have to mention the path in script.

  8. #8
    Join Date
    Apr 2009
    Beans
    68
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Want to add Timestamp to digital photos.

    Quote Originally Posted by arky View Post
    Hardcoding paths in script is a bad idea.

    Copy the arial.ttf to your .fonts folder that way you don't have to mention the path in script.
    Stupid question. Do I need to install imagemagick to use the script?

  9. #9
    Join Date
    Mar 2005
    Location
    Texas
    Beans
    1,675
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Want to add Timestamp to digital photos.

    looks like you do.
    100 buckets of bits on the bus,
    100 buckets of bits,
    Take one down, short it to ground,
    FF buckets of bits on the bus.

  10. #10
    Join Date
    Jan 2009
    Location
    India
    Beans
    106
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Want to add Timestamp to digital photos.

    Yes, the convert is provided by imagemagick

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •