
remove metadata labels from images
-
- Posts: 4
- Joined: Thu Jan 01, 1970 12:00 am
- Location: king of prussia, PA
remove metadata labels from images
i'm looking for a little snippet to add to my scripts to remove any color label data from images. Can anyone point me in a direction? 

Re: remove metadata labels from images
It should be posted in Bridge Scripting section, as now I'm not sure aren't you asking of colours bound to document layers, but if not then this code embedded in your script should help:
Code: Select all
#target photoshop
(bt = new BridgeTalk()).target = 'bridge'
bt.body = "new Thumbnail(File('" +
activeDocument.fullName + "')).label = ''"
bt.send(2)
-
- Posts: 4
- Joined: Thu Jan 01, 1970 12:00 am
- Location: king of prussia, PA
Re: remove metadata labels from images
Hi Kukurykus!
This worked, but it did target bridge to complete the job. is there no way to remove color labels just using PS?
This worked, but it did target bridge to complete the job. is there no way to remove color labels just using PS?
Re: remove metadata labels from images
Why didn't you search for it on forums by using Search... blank? I didn't know how to do these 2 things before you asked, as I never needed it, so?
Code: Select all
xmp.rawData = (xmp = activeDocument.xmpMetadata).rawData.replace(/(\w+)(?=<\/xmp:La)/, '')