Page 1 of 1

How to achieve custom sort in XnView?

Posted: Thu Dec 02, 2021 10:50 pm
by probiner
Hello

I'm looking for a way to sort images created in Imagemagik in a custom order. For that I'm setting a value in the EXIF comment. But when I open XnView while I can see the comment field with the value I've set in the ExifTool I cannot organize the images by it. Even when I RMB the image and try to edit the comment, the field is empty and without the EXIF comment.
When I edit that embedded comment I now see two "Comment" entries in the ExifTool, but this one edited in XnView can be used to do the sorting. But I would want to do it programmatically.
Image


What would be the recommended way to load images with metadata that can be used to sort the images in XnView in either Imagemagik or straight up python?

Cheers
prb

Re: How to achieve custom sort in XnView?

Posted: Thu Dec 02, 2021 11:38 pm
by probiner
I was using lower case comment in Imagemagik with upper case the value I put there does show up in XnView.

Code: Select all

$ convert img.png -set Comment 'XnView complient' img.png
Anyways if there's a way to sort images in XnView with a custom attribute like something that is a float and not a string that would also be interesting to know.
Thanks
prb