Page 1 of 1

Batch convert 'Export for NConvert' error in exported code

Posted: Wed Jul 02, 2025 6:43 pm
by McBluna
Hello,

Version used: XnView MP 1.9.2 64-Bit, Nconvert 7.221 64-Bit

actual behavior
Created resize action to resize 50% width
Image
Image size 3840x2160 should be 1920x1080 after resize.

Code: Select all

nconvert.exe" -ratio -rtype lanczos -resize 50%% 100%%
resized image is 1920x2160.

Image

expected behavior
The resized image should be 1920x1080. Actually I have no idea how to achieve this with Nconvert.

Code: Select all

  -resize w h              : Scale width-height
      w h can be percent (ex: -resize 100% 200%)
      w h can be cm (ex: -resize 100cm 200cm)
      w h can be mm (ex: -resize 100mm 200mm)
      w h can be inches (ex: -resize 100i 200i)
  -resize fill w h         : Scale by filling the box wxh
  -resize longest size     : Scale longest side
  -resize shortest size    : Scale shortest side
  -resize dpi value        : Scale to DPI
Best regards
McBluna

Re: Batch convert 'Export for NConvert' error in exported code

Posted: Sun Jul 06, 2025 2:29 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.