When a multi-page file is created from files 1.tif 2.tif 3.tif ... 10.tif 11.tif ..., the pages are in the order 1, 10, 11...
Code: Select all
nconvert -out pdf -multi -o name.pdf *.tif
Moderators: XnTriq, helmut, xnview
Code: Select all
nconvert -out pdf -multi -o name.pdf *.tif
If you had to sort strings "aaa", "aab", "aaab", "aac", "aaac", "aaad", "aad", "aaaa" in natural order, what order would it be?cday wrote:Pierre (or anyone else...) is there a way to read input files in natural sort order rather than the 'Windows' sort order?
I'd have to think about that!Mixer wrote:If you had to sort strings "aaa", "aab", "aaab", "aac", "aaac", "aaad", "aad", "aaaa" in natural order, what order would it be?cday wrote:Pierre (or anyone else...) is there a way to read input files in natural sort order rather than the 'Windows' sort order?
I suspect from a quick Google earlier that NConvert run using cmd.exe users cmd.exe sort order, which seems to be the 'Windows' 1, 10, 11 order.Mixer wrote:With Explorer (just checked it in 10) you already have numeric sorting which you can revert to old-school http://superuser.com/questions/536438/w ... sort-order. With Nconvert I have no idea what it does and how it works.
it's the arguments order from cmdcday wrote:I suspect from a quick Google earlier that NConvert run using cmd.exe users cmd.exe sort order, which seems to be the 'Windows' 1, 10, 11 order.Mixer wrote:With Explorer (just checked it in 10) you already have numeric sorting which you can revert to old-school http://superuser.com/questions/536438/w ... sort-order. With Nconvert I have no idea what it does and how it works.
And PowerShell seems to be the same, unless there's a switch for that?xnview wrote:it's the arguments order from cmd