Export for NConvert... outputs incorrect code

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

Post Reply
cday
XnThusiast
Posts: 3973
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Export for NConvert... outputs incorrect code

Post by cday »

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: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Export for NConvert... outputs incorrect code

Post by xnview »

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