Export for NConvert... outputs incorrect code

XnConvert Multi Platform - Windows, MacOSX, Linux
cday
XnThusiast
Posts: 3084
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.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 36431
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Export for NConvert... outputs incorrect code

Post by xnview »

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