I regularly scan a few pages or have a few photos to perform the following on:
- resize to 1024 x 768
- normalize the colors
- automatic contrast
- automatic level
I did that via Toolbar-Icons and the integrated cmd_xxxx Commands.
Is there a way that to integrate all commands into one batch/command which can be called from the command line?
It shall only affect the current image, i.e. only one image at a time.
Any hint would be cool.
Thx!
How to "Batch" several commands via Icon in the Viewer?
Moderators: helmut, XnTriq, xnview
-
- Posts: 20
- Joined: Mon Jul 23, 2012 1:54 pm
Re: How to "Batch" several commands via Icon in the Viewer?
... for example ... In tools\batch processing ... you can save the script (and call it again the next time)
XnViewMP Linux X64 - Debian - X64
Re: How to "Batch" several commands via Icon in the Viewer?
The title of the post says '... via Icon in the Viewer' then the text of the post says 'which can be called from the command line' ...
You can perform a batch operation on the current image open in the Viewer using the following icon on the toolbar:
... which opens this window with the current file already loaded; you can load the batch settings from a saved script as oops66 says but I'm not sure if the last script used loads automatically (... possibly only an option in XnViewMP and XnConvert, which you might look at if you haven't done so already. EDIT: Currently only in XnConvert -- Settings tab, but might possibly be added to XnViewMP later.)
It should alternatively be possible to perform the required operations directly from the command line using an NConvert script in a batch file .bat if all the required operations are supported.
You can perform a batch operation on the current image open in the Viewer using the following icon on the toolbar:
... which opens this window with the current file already loaded; you can load the batch settings from a saved script as oops66 says but I'm not sure if the last script used loads automatically (... possibly only an option in XnViewMP and XnConvert, which you might look at if you haven't done so already. EDIT: Currently only in XnConvert -- Settings tab, but might possibly be added to XnViewMP later.)
It should alternatively be possible to perform the required operations directly from the command line using an NConvert script in a batch file .bat if all the required operations are supported.
Last edited by cday on Thu Mar 06, 2014 5:58 pm, edited 1 time in total.
Re: How to "Batch" several commands via Icon in the Viewer?
Related topics:
- User defined Convert buttons
- Image adjustment/transformation scripts
- make a convert script work in right mouse button...
- REQST: Save adjustments as script
- Batch processing from command line
- Custom button with assigned batch processing "macro"
- Toolbar button which executes script
- Batch processing via button
- Macros and XBS files
- Toolbar Button Parameters
- Custom button for a script