Skip to main content
Legend
March 18, 2023
Question

EXIFTool integration script available

  • March 18, 2023
  • 4 replies
  • 3384 views

Photoshop has some ability to view and edit EXIF/IPTC/XMP metadata inside image files. EXIFTool is a free command line app with numerous additional metadata features. My latest scripting project helps to integrate Photoshop and Bridge with EXIFTool.

 

I am releasing three scripts for Bridge and one for Photoshop; they are in the Developmental folder on my DropBox:

https://www.dropbox.com/sh/mg817g9a9ymbasi/AADTmXUVxmFfM58bcyYE7yiwa?dl=0

 

These scripts rely on EXIFTool so it must be installed. On Windows, exiftool.exe must be located in the Windows $PATH. On Mac, use the default install location. More information and installers are on the EXIFTool website:

https://exiftool.org/

 

These scripts are currently DEVELOPMENTAL and may (probably) contain bugs. They are Apache-licensed open source and may be used in accordance with that license.

This topic has been closed for replies.

4 replies

Stephen Marsh
Community Expert
Community Expert
March 18, 2023

When using this script to call ExifTool to update metadata, one has to close the file (no save required), then re-open the file or use another app such as Bridge to review the metadata changes. This is natural and expected, so no surprises. Having the file open in Photoshop is just a means to an end.

 

The following script can speed up the process of closing and re-opening the last file, which could help speed up evaluation in Photoshop.

 

#target photoshop
app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
app.open(app.recentFiles[0]);
Legend
March 18, 2023

I set the update from file preference so changes should be automatically seen by Photoshop. And I wouldn't want to close any files, especially not saving changes. 

Stephen Marsh
Community Expert
Community Expert
March 18, 2023

OK, in my test with a file with photoshop:DocumentAncestors metadata bloat, I removed the ancestors metadata, but going into file info directly afterwards showed no change. I closed the doc and it hadn't changed in Photoshop (no prompt to save changes). Opening the file again, the ancestor metadata is removed.

 

Do I need to download a new build?

Chuck Uebele
Community Expert
Community Expert
March 18, 2023

Fantastic. Thanks for doing this.

Stephen Marsh
Community Expert
Community Expert
March 18, 2023

@Lumigraphics 

 

David, thank you for making the power of ExifTool more accessible to Photoshop users!

Legend
March 18, 2023

Photoshop script:

PS-Run EXIFTool - full-featured window to run EXIFTool commands on open files

 

Bridge scripts:

EXIFInfo - opens a palette that displays metadata for selected files or folders.

Run EXIFTool - full-featured window to run EXIFTool commands on selected files

EXIFTool Window - stripped-down, minimalist window to run EXIFTool commands on selected files

 

Any or all can be loaded simultaneously.