-xall sourcefile = resultfile

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

Moderators: helmut, XnTriq, xnview

Post Reply
scma_rg
Posts: 2
Joined: Fri Dec 19, 2008 12:35 pm

-xall sourcefile = resultfile

Post by scma_rg »

Hi,

i'd like to use nconvert to extract multipage tif into single tif. The script is following:

nconvert -xall -c1 -o C:\outputfolder\??? *.tif

??? means that the sourcefile is date and time - for example:

20081216135012.tif

the resultfiles shout be

20081216135012-001.tif, 20081216135012-002.tif ...

What's the parameter for "???" to use the same filename for outputfilename as importfilename?

Thanks a lot.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: -xall sourcefile = resultfile

Post by xnview »

%.tif
Pierre.
scma_rg
Posts: 2
Joined: Fri Dec 19, 2008 12:35 pm

Post by scma_rg »

Sorry, but it dosen't work or i've a wrong script:

nconvert -xall -c1 -o C:\outputfolder\%.tif *.tif

This script splitts the multitif into single, that't true, put the Outputfilename is:

%-0.tif; %-1.tif; %-2.tif ...

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

Post by xnview »

And without -xall?
Pierre.
Post Reply