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

Script to remove all meta data from the photo

New Here ,
Mar 14, 2019 Mar 14, 2019

Copy link to clipboard

Copied

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

TOPICS
Actions and scripting

Views

14.6K

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 2 Correct answers

Guide , Mar 14, 2019 Mar 14, 2019

#target photoshop

removeXMP();

function removeXMP(){

if(!documents.length) return;

if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");

var xmp = new XMPMeta( activeDocument.xmpMetadata.rawData);

XMPUtils.removeProperties(xmp, "", "", XMPConst.REMOVE_ALL_PROPERTIES);

app.activeDocument.xmpMetadata.rawData = xmp.serialize();

}

Votes

Translate

Translate
Community Expert , Jul 22, 2020 Jul 22, 2020

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 la

...

Votes

Translate

Translate
Adobe
LEGEND ,
Apr 22, 2024 Apr 22, 2024

Copy link to clipboard

Copied

LATEST

Bot bot bot bot

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