Batch Convert Suggestion: Multiple saves/version for same file

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: xnview, Dreamer

grandtreebo
Posts: 3
Joined: Thu Feb 05, 2026 3:48 pm

Batch Convert Suggestion: Multiple saves/version for same file

Post by grandtreebo »

First off, I want to say that I love XnView. I've been using it for years and I want to thank the developers for making such an amazing program. It is my go-to viewing and my go-to batch conversion program.

All that out of the way I wanted to add a suggestion, if I might, to the batch conversion process. What I do a lot is watermark my comic book pages and then make a small thumbnail for each. What I'm wondering is - can I do the multiple versions required all in one batch file? As you may guess what I do now is I run two batch files - one makes the watermark and saves it at full size - then I run another batch to make a smaller thumbnail which I also save. In the end I get two versions of the same image. What I would love, is in the batch process to have a command that just saves the current version/progress in the batch with the current save settings. Maybe there's already a way to do this without a new add?!?

Example process
- Create a batch of images to be watermarked
- Batch run the various commands to add the text for the watermark
- USE THE NEW SAVE COMMAND ("add "X" prefix to file name and save with current settings") - this creates a copy of the image with everything done to it up to this point
- Continue batch with the various resizing and cropping needed to make a thumbnail
- BATCH ENDS and saves as usual.

I want to stress this is not a monumental thing of importance!!! I ask about this because I batch thousands of comic book pages and it would be helpful for me. I doubt most people would ever use this but I thought I'd put it out there as an idea. Maybe it would be useful for a few people to make multiple versions of images in the same batch.

THANK YOU!
User avatar
user0
XnThusiast
Posts: 2850
Joined: Sat May 09, 2015 9:37 am

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by user0 »

correct workflow - use 2 runs
use Presets to quickly switch settings
cday
XnThusiast
Posts: 4522
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by cday »

Another possible solution if you need this regularly, possibly not for you, use an NConvert script if all required actions are supported as they may well be...
jkm
Posts: 416
Joined: Sat May 11, 2024 12:43 am

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by jkm »

Welcome to the forums…

You could write a small batch file/script and do everything in one pass using ImageMagick.

ImageMagick is a free, open source tool for doing manipulation of image files. It’s very capable.

https://imagemagick.org/
Last edited by jkm on Thu Feb 05, 2026 7:17 pm, edited 1 time in total.
cday
XnThusiast
Posts: 4522
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by cday »

@jkm: I think we crossed...

ImageMagick is certainly a well-regarded and very capable software that supports a very large number of actions, but I think xnview.com's NConvert could probably also be used to create a minimal batch file, in the possibly unlikely event that the OP is open to that approach.
jkm
Posts: 416
Joined: Sat May 11, 2024 12:43 am

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by jkm »

cday wrote: Thu Feb 05, 2026 6:42 pm @jkm: I think we crossed...

ImageMagick is certainly a well-regarded and very capable software that supports many actions, but I think xnview.com's NConvert could probably also be used to create a minimal batch file.
Hi, yes I think we must have been writing at the same time. I'm sure Nconvert could probably do it as well. I'm more familiar with ImageMagick; been using it since the 90s. :)
cday
XnThusiast
Posts: 4522
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by cday »

Actually, the XnConvert option to 'Export for NConvert...' should allow much of the required code to be obtained directly, although as far as I know input and export terms at least are still not supported.
grandtreebo
Posts: 3
Joined: Thu Feb 05, 2026 3:48 pm

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by grandtreebo »

Yo and thank you all so much for the replies and info. Lots of useful stuff!
user0 wrote: Thu Feb 05, 2026 6:10 pm correct workflow - use 2 runs
use Presets to quickly switch settings
Uh yah, that is what I do now. I *think* I mentioned in my original post I process two batches and thousands of (large) images at a time. Because of that I normally work on other things or walk away from the process while it goes. Switching batch settings wasn't the problem per-se, the suggestion I was making was only to ensure a full two runs in the most efficient amount of time. For small batches it's not a big deal of course, and what you suggest is what is already happening.

Thanks for taking a quick moment to share the idea though! The later suggestions were more in line with what I was looking for.
cday wrote: Thu Feb 05, 2026 6:27 pm Another possible solution if you need this regularly, possibly not for you, use an NConvert script if all required actions are supported as they may well be...
Thank you! I will look into that! (edit: just did and wow!)
jkm wrote: Thu Feb 05, 2026 6:30 pm Welcome to the forums…
You could write a small batch file/script and do everything in one pass using ImageMagick.
ImageMagick is a free, open source tool for doing manipulation of image files. It’s very capable.
https://imagemagick.org/
Did not know about it and I will check it out! (edit: checked the links and thank you!)

Thank you again cday and jkm! Appreciate everyone's info and time! Stay awesome!
alee001
Posts: 285
Joined: Sun Sep 04, 2022 4:43 am

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by alee001 »

Just passing by...

Haha, using Photoshop is the fastest and easiest if you have it.
grandtreebo
Posts: 3
Joined: Thu Feb 05, 2026 3:48 pm

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by grandtreebo »

alee001 wrote: Mon Feb 09, 2026 6:23 am Just passing by...

Haha, using Photoshop is the fastest and easiest if you have it.
Appreciate the passing by. Don't have Photoshop and the answers above already hit the mark as I mentioned.

Thank you!
User avatar
xnview
Author of XnView
Posts: 47538
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by xnview »

in next version i've added a way to export multiple resized version
Pierre.
User avatar
xnview
Author of XnView
Posts: 47538
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.10.4. Please check and confirm the bug fix here.
Pierre.
User avatar
user0
XnThusiast
Posts: 2850
Joined: Sat May 09, 2015 9:37 am

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by user0 »

xnview wrote: Thu Mar 12, 2026 9:26 am in next version i've added a way to export multiple resized version
well, this is not how it should be done
- it is not scalable. why multiple resolutions? the next user will ask for multiple formats, compression levels, ratios, etc.
- it breaks clean straightforward logic (input>actions>output), there simply shouldn't be any follow-up actions in output tab

that isn't even necessary, since you already can use multiple instances to achieve any result
(set watch/hot folder in the 1st-Nth instance(s) and modify files produced by the last instance)

the correct way of doing this unnecessary overengineering in a single instance:
- job queue / task system (eg like in video editors, 3d renderers)
- actions branching +new file operation actions if you want to share intermediate state
User avatar
xnview
Author of XnView
Posts: 47538
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by xnview »

user0 wrote: Sat Mar 14, 2026 7:47 am well, this is not how it should be done
- it is not scalable. why multiple resolutions? the next user will ask for multiple formats, compression levels, ratios, etc.
- it breaks clean straightforward logic (input>actions>output), there simply shouldn't be any follow-up actions in output tab

that isn't even necessary, since you already can use multiple instances to achieve any result
(set watch/hot folder in the 1st-Nth instance(s) and modify files produced by the last instance)

the correct way of doing this unnecessary overengineering in a single instance:
- job queue / task system (eg like in video editors, 3d renderers)
- actions branching +new file operation actions if you want to share intermediate state
so you would like to move 'multiple resolution' in an action 'save'?
Pierre.
cday
XnThusiast
Posts: 4522
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Convert Suggestion: Multiple saves/version for same file

Post by cday »

What is needed, perhaps, is something like the following suggestion:

Proposal to add support for output of alternative versions of input files

... implemented in a basic form that allows a set of actions to be duplicated to a second tab, and then edited in the same ways as in the copied 'thread', to allow output settings (and any other settings...) to be changed to provide the desired output versions. :D

Simple duplication to a second 'thread' shouldn't be too difficult, and probably wouldn't greatly increase the overall app size?

Edit:

The fact that code common to the two 'threads' would be run twice shouldn't be an issue, a small price to pay, and should significantly simply implementation.