Page 1 of 1
Writing data to IPTC
Posted: Mon Dec 12, 2016 9:16 am
by Qpdv
Hi,
Does anyone know how to write IPTC data (title) to a job via a script?
thanks!
Re: Writing data to IPTC
Posted: Tue Dec 13, 2016 8:17 am
by Qpdv
No one?
Re: Writing data to IPTC
Posted: Tue Dec 13, 2016 9:25 am
by freddyp
IPTC as added to images by cameras is stored in a binary format, but IPTC as added by Photoshop is embedded in the XMP section.
What type of job is it and what type of IPTC?
Re: Writing data to IPTC
Posted: Tue Dec 13, 2016 10:29 am
by Qpdv
We're struggling to maintain some data in a job after its been injected. We tested it with a pdf and it keeps that data. so the question is, is i possible to write the iptc data to a (pdf) job via a script and if its possible how can i do it?
Thanks,
Peter
Re: Writing data to IPTC
Posted: Tue Dec 13, 2016 11:40 am
by freddyp
You do not really need a script. There is an "Inject XMP" element that can also update the information in the XMP. Attached is a ZIP file with a flow that shows the principle of picking up, injecting and updating the XMP. In the ZIP file is also an XMP template that you will have to modify to suit your needs.
If you really have to script what it is you are trying to do, search for "XMP" in the Scripting Help and in "Updating properties" you will find some sample code.
Re: Writing data to IPTC
Posted: Tue Dec 13, 2016 1:21 pm
by Qpdv
Thanks, I'm going to try this.
Re: Writing data to IPTC
Posted: Wed Dec 14, 2016 4:27 pm
by Qpdv
Works!
Thanks!