Export for NConvert... outputs incorrect code

XnConvert Multi Platform - Windows, MacOSX, Linux
Post Reply
cday
XnThusiast
Posts: 1768
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Export for NConvert... outputs incorrect code

Post by cday » Thu Mar 29, 2018 7:03 pm

Clipboard01.png
The Export for NConvert... .bat exported for the above settings is:

Code: Select all

nconvert -ratio -rtype lanczos -resize 50%%%% 50%%  
The NConvert Help file gives the syntax for Resize as:

Code: Select all

-resize w h      : Scale width-height
              w h can be percent (ex: -resize 100% 200%)
In a batch file the '%' character must be doubled to '%%' to escape the character, so the expected exported code is:

Code: Select all

nconvert -ratio -rtype lanczos -resize 50%% 50%%  
Although the code actually exported runs, the syntax is incorrect.

User avatar
xnview
Author of XnView
Posts: 29742
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Export for NConvert... outputs incorrect code

Post by xnview » Tue Apr 03, 2018 7:15 am

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.

Post Reply