• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to set capture time?

LEGEND ,
Jun 28, 2010 Jun 28, 2010

Copy link to clipboard

Copied

Am I missing something obvious, or is there indeed no way to set the capture time of a photo?  Invoking

photo:setRawMetadata ("dateTimeOriginal", LrDate.currentTime ())

results in the error:

LrPhoto:setRawMetadata: unknown metadata key "dateTimeOriginal"

(The documentation doesn't list "dateTimeOriginal", but I tried it anyway.)

If true, this seems like a pretty big omission?

TOPICS
SDK

Views

701

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 28, 2010 Jun 28, 2010

Copy link to clipboard

Copied

Mr. Chet Drarvik?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 28, 2010 Jun 28, 2010

Copy link to clipboard

Copied

LATEST

Chet - no way in LR that I know of at this point.  You also can't set the model and make of the camera which all three would come in handy for scanned images from my epson scanner.  I have not found a work-around other than creating an Task that iterates through the images you select and then calls an external program like Exiftool to set the date.  For the new date to be effective you have to import the sidecar file (or the xmp data inside the DNG).  This of course means you have to be sure to save the metadata (Ctrl-S) before running the routine to avoid overwriting develop and other metadata changes you have made.

Jeff

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines