Different NConvert versions output different filenames

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

Moderators: XnTriq, helmut, xnview

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

Different NConvert versions output different filenames

Post by cday »

Different versions of NConvert now produce different output filenames for this code:

Code: Select all

nconvert -xall -dpi 300 -out jpeg -o "%%###.jpg" Multipage.pdf
NConvert 6.05 x32:

Multipage001
Multipage002
Multipage003
Multipage004

NConvert 6.88 x32:

Multipage001-0
Multipage001-1
Multipage001-2
Multipage001-3

Tested using Ghostscript versions 9.15 x32 and 9.20 x32.

Pierre?
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different NConvert versions output different filenames

Post by xnview »

yes was changed in a previous version...
Pierre.
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Different NConvert versions output different filenames

Post by cday »

xnview wrote:yes was changed in a previous version...
Intentionally?

The current filenames are not the expected result which has caused some confusion, and are also not consistent with the documentation in the Help file. :(

Possibly a reason to do with processing multiple, multipage files??

The earlier filenames seem more desirable, the pages of a multipage file are numbered sequentially following the base filename... :D
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different NConvert versions output different filenames

Post by xnview »

cday wrote:
xnview wrote:yes was changed in a previous version...
Intentionally?
seems to be a bug :) i'll fix it
Pierre.
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Different NConvert versions output different filenames

Post by cday »

xnview wrote:seems to be a bug :) i'll fix it
Testing the new NConvert 6.92 (in the XnView 2.37 Extended/Full download) with this code:

Code: Select all

nconvert -xall -dpi 300 -out jpeg -o "%%###.jpg" Multipage.pdf
Expected output filenames:

Multipage001
Multipage002
Multipage003
Multipage004

Actual output filenames:

001
001002
001002003
001002003004

... :wink:
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different NConvert versions output different filenames

Post by xnview »

I've fixed the problem with % (package updated)
Pierre.
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Different NConvert versions output different filenames

Post by cday »

xnview wrote:I've fixed the problem with % (package updated)
I'm getting 'Bad version of libformat' error message...
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different NConvert versions output different filenames

Post by xnview »

cday wrote:
xnview wrote:I've fixed the problem with % (package updated)
I'm getting 'Bad version of libformat' error message...
:( it's fixed now
Pierre.
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Different NConvert versions output different filenames

Post by cday »

xnview wrote::( it's fixed now
Still getting same error message from downloaded XnView 2.37 Extended/Full ZIP version... :wink:
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different NConvert versions output different filenames

Post by xnview »

cday wrote:
xnview wrote::( it's fixed now
Still getting same error message from downloaded XnView 2.37 Extended/Full ZIP version... :wink:
now it's fixed :( Sorry about this problem...
Pierre.
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Different NConvert versions output different filenames

Post by cday »

xnview wrote:now it's fixed :( Sorry about this problem...
Thanks, NConvert 6.93 now works as expected... :D :D

As a general point, it would be better if the latest version of NConvert could always be downloaded from the NConvert download page, rather than sometimes only being available in the XnView Classic Extended/Full download... But I do appreciate the problem of maintaining so many software versions with quite frequent updates.