Page 1 of 2
XnConvert as command line tool?
Posted: Tue Nov 20, 2018 7:21 am
by xnview
NConvert has not all the features of XnConvert, so is it a good idea if XnConvert could convert files by passing a .xbs file
Re: XnConvert as command line tool?
Posted: Sun Feb 03, 2019 2:07 am
by obelisk
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
Re: XnConvert as command line tool?
Posted: Sun Feb 03, 2019 10:11 am
by xnview
obelisk wrote: Sun Feb 03, 2019 2:07 am
Is this possible?
No, it's a question

Re: XnConvert as command line tool?
Posted: Sun Mar 17, 2019 5:14 am
by obelisk
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
Re: XnConvert as command line tool?
Posted: Mon Nov 21, 2022 3:32 am
by Ahern
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.
Re: XnConvert as command line tool?
Posted: Fri Sep 29, 2023 9:42 am
by Phred
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.
Re: XnConvert as command line tool?
Posted: Mon Oct 23, 2023 8:12 am
by crazydaz
YES please!

Re: XnConvert as command line tool?
Posted: Wed Dec 06, 2023 3:28 pm
by xnview
Output should be in a dialog or in console?
Re: XnConvert as command line tool?
Posted: Wed Dec 20, 2023 12:07 am
by linkakro
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.
Re: XnConvert as command line tool?
Posted: Sat Jun 29, 2024 3:35 am
by Cauhape
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!
Re: XnConvert as command line tool?
Posted: Mon Jul 01, 2024 12:02 pm
by xnview
not enough feedback for this feature
Re: XnConvert as command line tool?
Posted: Thu Jul 25, 2024 9:36 pm
by akhilpuri2003
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?
Re: XnConvert as command line tool?
Posted: Tue Jul 30, 2024 8:28 am
by cday
akhilpuri2003 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?
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 settings
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.
Re: XnConvert as command line tool?
Posted: Sun Aug 11, 2024 4:07 pm
by rystaman
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
Re: XnConvert as command line tool?
Posted: Tue Apr 08, 2025 9:11 am
by Sogl
Need this feature. XnConvert compresses jpg files very well, realized I want to embed it in my web application, but need a CLI version.