How to batch resize with XnView MP
From XnView Wiki
When you start the Batch Convert tools, you have this window. Move to the "Actions" tab.
So now add the "Resize" action by clicking on "Add action > Image > Resize".
The settings for "Resize" action will be added.
By changing the "Mode" setting, you set which new size will be used.
- Fit: The image's size fits in the given width & height
- Fill: The image's size fills the given width & height
- Longest side: Set the value for longest side
- Shortest side: Set the value for shortest side
- Mpixels: Set the value of megapixels (width * height / 1000)
- Width: Set the value for width
- Height: Set the value for height
("Keep ratio" will keep the aspect ratio of the image)
By changing the "Enlarge/Reduce" setting, you can tell the image processor to skip images with dimensions larger or smaller than that of the desired result.
By changing the "Resample" setting, you choose the quality of downscaling. "Lanczos" is often better quality for photos.
Now if you go to "Output" tab, you can choose which output folder, filename and format you would like.
In the "Filename" field, you can use place holder.
By default, you have "Same as original" in format. The processor will try to save in the same format as the source format. If that's not possible, JPEG will be used.
Some format come with its own settings, accessible from the “Settings” button directly underneath the pull-down menu. In case of JPEG files, the most crucial parameter is the compression/quality ratio.
By default, the processor uses only one core of your CPU. You can speed up the process by enabling "Use CPU cores".
Save different presets
You can save all settings in a preset, for easy reuse in the future.
Now you can reuse saved presets.
Input and convert
Images can be added by pressing "Add files" or "Add folder", or by drag & dropping them. You can also sort your file list by moving files.
Now click on the "Convert" button to start process.
Check the "Status" tab for errors or warnings.
The "Add actions" menu in the "Actions" tab allows you to add effects like Image watermark, Text watermark, Cropping, Rotating, Image adjusting, …