batch write keywords to png

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

Moderator: xnview

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
Is there a way use python to write keywords to png from filename last number?
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47557
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: batch write keywords to png

Post by xnview »

rewriting png files can be slow
Pierre.