XnConvert as command line tool?
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
XnConvert as command line tool?
NConvert has not all the features of XnConvert, so is it a good idea if XnConvert could convert files by passing a .xbs file
Pierre.
-
- Posts: 467
- Joined: Fri Jan 09, 2009 9:54 am
Re: XnConvert as command line tool?
Is this possible? Much easier than trying to make NConvert files work
XnConvert a.xbs a1.jpg .... a9.jpg
Also if you could run a batch on completion it would be great too
XnConvert a.xbs a1.jpg .... a9.jpg
Also if you could run a batch on completion it would be great too
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 467
- Joined: Fri Jan 09, 2009 9:54 am
Re: XnConvert as command line tool?
I think useful. I can make a bat file that calls
XnConvert a.xbs %*
Then drag jpg files to the bat and it converts all
XnConvert a.xbs %*
Then drag jpg files to the bat and it converts all
-
- Posts: 1
- Joined: Mon Nov 21, 2022 3:23 am
Re: XnConvert as command line tool?
Will the function of XnConvert as a command-line tool still be developed?because NConvert cannot meet my needs, and I hope this function can be added.
-
- Posts: 41
- Joined: Fri Nov 06, 2009 3:48 pm
- Location: SEAu
Re: XnConvert as command line tool?
Your question didn't get the attention it deserved, Pierre.
I'd say, most certainly Yes - that XnConvert should be a companion to NConvert and be capable of performing all the functions of the GUI.
It's very useful to be able to pass parameters to programs, of course, so if both your converters were developed side-by-side, we would have excellent usability options.
A definite Yes.
I'd say, most certainly Yes - that XnConvert should be a companion to NConvert and be capable of performing all the functions of the GUI.
It's very useful to be able to pass parameters to programs, of course, so if both your converters were developed side-by-side, we would have excellent usability options.
A definite Yes.
Regards, PhredE
Willing donor, if only a 'donor token' were supplied in return, putting 'Phred's XnView' or '$D', '$Dd', '$dd' (depending on size) or 'Donor Version' in the title bar. (See Wiztree for partial solution.)
And a local Help file
Willing donor, if only a 'donor token' were supplied in return, putting 'Phred's XnView' or '$D', '$Dd', '$dd' (depending on size) or 'Donor Version' in the title bar. (See Wiztree for partial solution.)
And a local Help file
-
- Posts: 21
- Joined: Wed Nov 20, 2019 2:09 pm
Re: XnConvert as command line tool?
YES please!
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 4
- Joined: Tue Dec 19, 2023 2:44 am
Re: XnConvert as command line tool?
I believe this command line output should be by default in the stream output of the process, but as convenience it could have a command line option to enforce a dialog instead.
-
- Posts: 2
- Joined: Tue Jun 25, 2024 6:06 pm
Re: XnConvert as command line tool?
I would like to be able to call XnConvert from the command line so that I can call it from within a Python program.
If this is possible, please point me to where I can find online documentation.
Thanks!
If this is possible, please point me to where I can find online documentation.
Thanks!
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 1
- Joined: Thu Jul 25, 2024 9:34 pm
Re: XnConvert as command line tool?
I would love for this feature to be available and am happy to be available to provide feedback to help develop this. My requirement is to resize files in bulk to multiple sizes/aspect ratios. So, if I have 100 files in a folder, I want them all to be resized to an aspect ratio of 2x3, 4x5 etc in one shot. Is this possible in some way?
-
- XnThusiast
- Posts: 4136
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: XnConvert as command line tool?
XnConvert when run from from the GUI or from the command line applies the same settings to all files loaded, so multiple runs with different settings would be required. It is however possible to save settings as a script that can be reloaded later, so alternative scripts could be created and saved for different required outputs. Another option would be to use multiple instances of XnConvert, for example ZIP versions with different settingsakhilpuri2003 wrote: ↑Thu Jul 25, 2024 9:36 pm My requirement is to resize files in bulk to multiple sizes/aspect ratios. So, if I have 100 files in a folder, I want them all to be resized to an aspect ratio of 2x3, 4x5 etc in one shot. Is this possible in some way?
However, the command line utility NConvert could be used with a batch file script that could call the program multiple times to create multiple output versions of a set of files in a single run.
-
- Posts: 5
- Joined: Sat Aug 03, 2024 10:09 am
Re: XnConvert as command line tool?
Agreed would want this feature. Noticed that nConvert has a different file size on export so would definitely prefer to utilise XnConvert via command line