Missing EXIF data

Community Beginner ,
Feb 18, 2022 Feb 18, 2022

Copy link to clipboard

Copied

I have a script that gets an error  278 ,"Required value is missing Line 278 -> TI.contents =phoTime"  I believe it's because I have a new document without any EXIF data. The script between lines 216 and 287 works  by itself . I'm pretty sure the problem is that it's asking for EXIF from the new document, not the original. Without this bit of code the flattened resulting image does have the correct EXIF data from the original.

How do I either get EXIF from original open document or somehow get that info?

Right now my order of events is.

  1. Have image open
  2. Start script 
  3. Enter name into box that renames to image
  4.  Save image with new name to two drives
  5. Resize image
  6. Open image with info 
  7. Paste image with info
  8. Flatten
  9. Run script to add filename +
  10.  Add EXIF date
  11.  Flatten
  12.  Save new image  which is now 8x12 with all info to two different drives
  13.  Close image
  14.  Go to Bridge.

I've tried putting the script to get EXIF in different order in the main script .

TOPICS
Actions and scripting , Windows

Views

64

Likes

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

correct answers 1 Correct answer

Community Beginner , Feb 18, 2022 Feb 18, 2022
Found it. I was trying to use DateTimeDigitized for query. That's how it appears in the EXIF data. There are three dates shown in the EXIIF data.  DateTime, DateTimeDigitized and DateTimeOriginal. What finally worked is Date Time with the space..

Likes

Translate

Translate
Community Beginner ,
Feb 18, 2022 Feb 18, 2022

Copy link to clipboard

Copied

LATEST

Found it. I was trying to use DateTimeDigitized for query. That's how it appears in the EXIF data. There are three dates shown in the EXIIF data.  DateTime, DateTimeDigitized and DateTimeOriginal. What finally worked is Date Time with the space..

Likes

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