Page 1 of 1
Batch processing from command line
Posted: Tue Dec 14, 2010 12:35 pm
by sartaros
Is is really to permit execution XBS files from viewer command line, or as a task for nconvert?
Re: Batch processing from command line
Posted: Tue Dec 14, 2010 5:07 pm
by xnview
XBS file are only for XnView, you can export a command line from XBS
Re: Batch processing from command line
Posted: Tue Dec 14, 2010 5:15 pm
by sartaros
xnview wrote:XBS file are only for XnView, you can export a command line from XBS
Somthing as
>xnview -ex File.
xbs
What is the export command line from
XBS file?
Re: Batch processing from command line
Posted: Tue Dec 14, 2010 8:05 pm
by helmut
For exporting your .xbs file to a "real" batch script which can be executed from command line using nconvert you...
1. ...open the dialog "Batch processing" in XnView (Menu "Tool > Batch processing")
2. ...in "Batch processing" dialog press button "Load..." and choose your XBS file using the file dialog. Confirm the file dialog with "Open".
3. ...Press button "Export..." and choose a directory and name for your batch script.
Done.
Please note that for executing the batch script you might need to include nconvert in the search path (PATH) for program files. Or you edit the batch script and add the full path for nconvert.
Re: Batch processing from command line
Posted: Wed Dec 15, 2010 8:08 am
by sartaros
Thank you, helmut.
This way is very bad for debugging operating sequence.
May be it's a bug. But adding a new operation not correspond with exporting bat file. If i want to add an operation, i have to initiate the new dialog/ It's very uncomfortable.
Re: Batch processing from command line
Posted: Sun Dec 19, 2010 10:55 pm
by helmut
I don't quite understand what you mean.
In "Batch processing" dialog you can save and load your script quickly. So you can save your transformation and export it. If needed, you can reload your transformations (using the drop down list box), change it, save it, and export it, again. Simple and fast, I think.
If that's not fast enough and you want to do more batch scripting, you will have to learn
how to use nconvert.
Re: Batch processing from command line
Posted: Tue Dec 21, 2010 1:15 am
by XnTriq
xnview wrote:XBS file are only for XnView, you can export a command line from XBS
Let's not forget about
XnConvert 
Re: Batch processing from command line
Posted: Tue Dec 21, 2010 8:13 am
by helmut
XnTriq wrote:xnview wrote:XBS file are only for XnView, you can export a command line from XBS
Let's not forget about
XnConvert 
Right. A pity that XnConvert is still in beta testing stage, I hope this will change once XnView MP is finished.
Re: Batch processing from command line
Posted: Thu Dec 23, 2010 6:27 pm
by xnview
helmut wrote:XnTriq wrote:xnview wrote:XBS file are only for XnView, you can export a command line from XBS
Let's not forget about
XnConvert 
Right. A pity that XnConvert is still in beta testing stage, I hope this will change once XnView MP is finished.
I think that this version will not be supported anymore. But a new version of XnConvert (dialog from MP) will be available...