NConvert 7.00 - Bug when output filename contains a numeric enumerator

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

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

NConvert 7.00 - Bug when output filename contains a numeric enumerator

Post by cday » Sat Oct 06, 2018 6:36 pm

NConvert 7.00 introduced a bug when the numeric enumerator # is used in an output filename.

In the code below, which outputs renumbered copies of four files in a folder Test:

Expected result: output files numbered 001 002 003 004
Actual result: output files numbered 003 004 005 006

Code: Select all

D:\Desktop\Test>nconvert_7.00  -o ### Test\*.*
** NCONVERT v7.00 (c) 1991-2017 Pierre-E Gougelet (Apr 18 2017/09:49:26) **
        Version for Windows NT/9x/2000/Xp/Vista/7  (All rights reserved)
** This is freeware software (for non-commercial use)

  Error: Can't open file (D:\Desktop\Test\Test)

  Error: Can't open file (D:\Desktop\Test)

Conversion of D:\Desktop\Test\Test\1.png into 003.png OK
Conversion of D:\Desktop\Test\Test\2.png into 004.png OK
Conversion of D:\Desktop\Test\Test\3.png into 005.png OK
Conversion of D:\Desktop\Test\Test\4.png into 006.png OK


NConvert 6.93 outputs the expected result.

Post Reply