Skip to main content
mo54891077
Participant
March 14, 2019
Answered

Script to remove all meta data from the photo

  • March 14, 2019
  • 11 replies
  • 19389 views

Hi

I am looking for a Script to remove all meta data from the photo (main issue is camera and lens info)

if i give my  client a flat image with no layers, i can do it while i export from lightroom.

but i want a way to do it while i keep the layers

is there a photoshop script to do that?

Thank you in advance

This topic has been closed for replies.
Correct answer Stephen Marsh

Thanks, so pretty much the same hack as adding a new blank layer to force the dupe to work correctly. I was hoping for something magic! :]

 

I have it sorted now, thanks r-bin...

 

Now I have discovered a different issue to fix!


As previously mentioned, this can (mostly) be performed using an action, duplicating the layers to a new file. With conditional actions it can gracefully handle a flattened file.  

 

This is performed by duplicating the layers to a new file. NOTE: Paths, alpha channels, guides, colour samplers and other document-level objects will not carry over to the new file (which may be a good thing if this is for a client, they usually don’t require your intermediate “workings”, you are just supplying a layered file if that is the requirement over a flattened file).

 

(action download)

 

 

I have used “relative” keyboard shortcuts to navigate and select the layers rather than “absolute” recordings.

 

NOTE: The updated script code has been removed for reworking...

 

11 replies

JJMack
Community Expert
Community Expert
March 14, 2019

Save for web can strip metadata like that.  Adobe Photoshop scripting may treat EXIF  metadata as read only. I never tried to change any Camera metadata its easy to strip.  I think I may have tried to change some EXIF Date taken information one ti,e because the date was set wrong in my Camera. I believe I was not able to or I found an EXIF utility that could change the date a relative number of days so I did not have to script that. The Script I have that process EXIF metadata only read the data. I found lens information was in Adobe Aux metadata I believe the was create by ACR use RAW Files camera maker metadata, the Actual lens was not in EXIF data just the focal length used was. Save For web can strip all metadata or preserve some metadata like copyright information.

JJMack