Batch Processing / Add ITPC Caption

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Ty
Posts: 152
Joined: Thu Feb 23, 2006 3:18 am
Location: San Luis Obispo, California

Batch Processing / Add ITPC Caption

Post by Ty »

I have many hundreds of files that must be displayed, with captions, on the web in Picasa / Google Photos. Picasa supports ITPC captions, which I can use XnView to change. So far so good.

However, I need to be able to use XnView's Batch Processing to change the ITPC caption from <blank> to <filename>. Many of them.

(I can already use "Batch Rename" to get the file names I want)

So is it possible to use Batch Processing for this purpose? I have explored "Transformations" and don't see any references to the ITPC data, other than an option to clear it.

Thank you in advance to the XnView experts who reply.
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Processing / Add ITPC Caption

Post by xnview »

No but why you don't use Edit IPTC?
Pierre.
User avatar
Ty
Posts: 152
Joined: Thu Feb 23, 2006 3:18 am
Location: San Luis Obispo, California

Post by Ty »

I have experimented using "Edit IPTC Data", but it only works on one image at a time, even if I select multiple images.

I need to do large batches of files.

Plus, I wanted to put <filename> as the caption, so some batch processing and and scripting was necessary.

But okay, I can live without this capability. The program is wonderful as it is, and you don't seem to have trouble finding new things to add even without my help!

Best regards,

Ty
stultus

Post by stultus »

Take a look at ExifTool by Phil Harvey

http://www.sno.phy.queensu.ca/~phil/exiftool/

This is a commandline tool.

With someting like the following you can add the filename to the IPTC:Caption field.

exiftool -IPTC:Caption-Abstract<FileName ...
User avatar
Ty
Posts: 152
Joined: Thu Feb 23, 2006 3:18 am
Location: San Luis Obispo, California

Post by Ty »

Thanks very much for the tip, Stultus.

What I found and successfully used was a tool at http://www.exiv2.org/download.html. There's no user interface and it runs via a DOS batch file, but it gets the job done.

Thanks for the comments.
raxy

Post by raxy »

I also had that requirement:
-be able to selection arbitrarily some jpeg files in a directory
-set arbitrary tuples of IPTC tag / string value
- apply in one shot these tag modification to the group of files

Becaus I did not find any GUI based gratis windows software to offer that,
I decided to write if from scratch using exiv2.

I well be pleased to share it here to those it could really help.

Tks
Post Reply