Writing data to IPTC

Post Reply
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Writing data to IPTC

Post by Qpdv »

Hi,

Does anyone know how to write IPTC data (title) to a job via a script?

thanks!
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv »

No one?
freddyp
Advanced member
Posts: 1017
Joined: Thu Feb 09, 2012 3:53 pm

Re: Writing data to IPTC

Post 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?
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post 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
freddyp
Advanced member
Posts: 1017
Joined: Thu Feb 09, 2012 3:53 pm

Re: Writing data to IPTC

Post 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.
Archive.zip
(23.25 KiB) Downloaded 487 times
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.
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv »

Thanks, I'm going to try this.
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv »

Works!

Thanks!
Post Reply