Writing data to IPTC

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

Writing data to IPTC

Post by Qpdv » Mon Dec 12, 2016 9:16 am

Hi,

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

thanks!

Qpdv
Member
Posts: 21
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv » Tue Dec 13, 2016 8:17 am

No one?

freddyp
Advanced member
Posts: 635
Joined: Thu Feb 09, 2012 3:53 pm

Re: Writing data to IPTC

Post by freddyp » Tue Dec 13, 2016 9:25 am

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: 21
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv » Tue Dec 13, 2016 10:29 am

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: 635
Joined: Thu Feb 09, 2012 3:53 pm

Re: Writing data to IPTC

Post by freddyp » Tue Dec 13, 2016 11:40 am

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 283 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: 21
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv » Tue Dec 13, 2016 1:21 pm

Thanks, I'm going to try this.

Qpdv
Member
Posts: 21
Joined: Thu Dec 03, 2015 2:59 pm

Re: Writing data to IPTC

Post by Qpdv » Wed Dec 14, 2016 4:27 pm

Works!

Thanks!

Post Reply