XnConvert as command line tool?

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

XnConvert as command line tool?

Post 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
Pierre.
obelisk
Posts: 457
Joined: Fri Jan 09, 2009 9:54 am

Re: XnConvert as command line tool?

Post 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
User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert as command line tool?

Post by xnview »

obelisk wrote: Sun Feb 03, 2019 2:07 am Is this possible?
No, it's a question :)
Pierre.
obelisk
Posts: 457
Joined: Fri Jan 09, 2009 9:54 am

Re: XnConvert as command line tool?

Post 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
Ahern
Posts: 1
Joined: Mon Nov 21, 2022 3:23 am

Re: XnConvert as command line tool?

Post 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.
Phred
Posts: 40
Joined: Fri Nov 06, 2009 3:48 pm
Location: SEAu

Re: XnConvert as command line tool?

Post 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.
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 :(
crazydaz
Posts: 21
Joined: Wed Nov 20, 2019 2:09 pm

Re: XnConvert as command line tool?

Post by crazydaz »

YES please! :!:
User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert as command line tool?

Post by xnview »

Output should be in a dialog or in console?
Pierre.
linkakro
Posts: 3
Joined: Tue Dec 19, 2023 2:44 am

Re: XnConvert as command line tool?

Post 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.