What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

Good Evening All,


This is my first post here. I am a very well versed python programmer, but not quite as competent in photoshop (yet). I am looking to batch read/write basic metadata (a ~5-25 character string, for example) to either


1) a photoshop file

2) a specific layer in a photoshop file


Ideally, this metadata string would not be visible when opening the layer / file in the program, but if it is and is not too obtrusive  or easy to edit/overwrite accidentally, that is fine. From what I gather from the specification, this should be possible. I have first tried to do it with tagged blocks using the 'psd-tools' library, but I can not seem to find a layer-writing function approach that does not product an error when opening the file in PS. I am also fine with creating my own parser for the photoshop file or using some kind of built in batch mode / cmdline call if it exists.


If anyone has any general pointers or keywords to look for to start to accomplish this, please let me know if you have a chance!


Thanks for reading


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top