batch write keywords to png

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

Moderators: helmut, XnTriq, xnview

Post Reply
connor
Posts: 2
Joined: Wed Feb 12, 2025 10:14 am

batch write keywords to png

Post by connor »

Hi First, Thank you for your help .

Things are like this:

I have 56000 font png files. The name looks like " font_name-123.png "

I want to write the last number of keywords with IPTC.

I don't know what clear steps.
1. Selected all png
2. Edit IPTC, set keywords from {filename number},
3. Write to all files ? ---- Very slowly
4. transfer to Metadata menu. select iptc {filename number} ---- Very slowly
5. update catalog from file. ---- Very slowly
PixPin_2025-06-01_23-24-42.png
PixPin_2025-06-01_23-24-42.png (109.66 KiB) Viewed 127 times
Is there a way use python to write keywords to png from filename last number?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: batch write keywords to png

Post by xnview »

rewriting png files can be slow
Pierre.
Post Reply