Handling of ExifTool parameter in batch renaming of XnViewMP

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

Moderators: helmut, XnTriq, xnview

Post Reply
Nazuchi-Chang
Posts: 2
Joined: Fri Jun 16, 2023 7:24 am

Handling of ExifTool parameter in batch renaming of XnViewMP

Post by Nazuchi-Chang »

Hello.
I have been using your wonderful software for many years.
Thank you.

I have a question about the handling of ExifTool parameter in XnViewMP batch renaming.

I have a large number of images generated by Stable Diffusion that are difficult to rename manually.
I would like to batch rename them to make them easier to manage.

I would like to use the following naming convention.
File Created Date-Model-Seed-Sampler.png
The "Model", "Seed", and "Sampler" above are parameters that can be seen when the image is opened in a text editor, but not on XnViewMP, are these accessible values?

(A sample image is attached *I got this error in the status and could not attach the image.[Sorry, the board attachment quota has been reached.])

*Only Parameters were shown in PNG/Parameters in the EXIFTool tab, so I was wondering if there is some way to describe how to access them.

(Attached is a screenshot of XnViewMP *Error, Same as above.)

I understand that the file creation date can be named by {Creation Date} or {EXIF:Date Taken [Y-m-d_H-M-S]} etc., but I tried various ways for "Model", "Seed" and "Sampler" but could not name them.
{EXIF:model}, {EXIFTOOL:model} etc...
I thought about renaming outside of XnViewMP, but some images have already been given ratings and categories, and it would break the file references in the catalog, so I would like to complete the process using only XnViewMP's functionality.

If you have a better way to do this, I'd appreciate it.
User avatar
xnview
Author of XnView
Posts: 46273
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Handling of ExifTool parameter in batch renaming of XnViewMP

Post by xnview »

could you post a sample file?
Pierre.
Nazuchi-Chang
Posts: 2
Joined: Fri Jun 16, 2023 7:24 am

Re: Handling of ExifTool parameter in batch renaming of XnViewMP

Post by Nazuchi-Chang »

I still got an error and could not attach it directly to this post.

So I uploaded it to an external file DL site instead.
It may be difficult to understand because it is a Japanese site, but please download it from the [ダウンロード開始 button] on the left side of the QR code. The password is [XVmp].

[Sumple Image file]
https://22.gigafile.nu/0627-b9e951f4e47 ... 6b6da3554e

When I open this image in a text file, metadata is displayed.
(Sampler, Seed, Model hash, etc.)

[ExifTool info ScreenShot]
https://22.gigafile.nu/0627-d156b4cae03 ... c8409500a2

Exif Tool showed Parameters.
So I thought there might be some way to access these with batch renaming.
Post Reply