Batch processing from command line
Moderators: helmut, XnTriq, xnview
Batch processing from command line
Is is really to permit execution XBS files from viewer command line, or as a task for nconvert?
Re: Batch processing from command line
XBS file are only for XnView, you can export a command line from XBS
Pierre.
Re: Batch processing from command line
Somthing asxnview wrote:XBS file are only for XnView, you can export a command line from XBS
>xnview -ex File.xbs
What is the export command line from XBS file?
Re: Batch processing from command line
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.
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
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.
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
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.
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
Let's not forget about XnConvertxnview wrote:XBS file are only for XnView, you can export a command line from XBS

Re: Batch processing from command line
Right. A pity that XnConvert is still in beta testing stage, I hope this will change once XnView MP is finished.XnTriq wrote:Let's not forget about XnConvertxnview wrote:XBS file are only for XnView, you can export a command line from XBS
Re: Batch processing from command line
I think that this version will not be supported anymore. But a new version of XnConvert (dialog from MP) will be available...helmut wrote:Right. A pity that XnConvert is still in beta testing stage, I hope this will change once XnView MP is finished.XnTriq wrote:Let's not forget about XnConvertxnview wrote:XBS file are only for XnView, you can export a command line from XBS
Pierre.