Page 1 of 1
Input from filelist - Option to set output filename to source filename
Posted: Mon Nov 08, 2021 9:41 am
by cday
Code: Select all
nconvert -out pdf -multi -o Output\%%.pdf -l Filelist.txt
When the above code is run the the output PDF has the name of the first image in the filelist.
Could an option please be added to set the output filename to the input text file filename.
Example filelist:
Code: Select all
Image_1.tif
Image_2.tif
Image_3.tif
Output filename of the file created is Image_1.pdf.
Re: Input from filelist - Option to set output filename to source filename
Posted: Tue Nov 09, 2021 1:46 pm
by xnview
Currently which output filename is used?
Re: Input from filelist - Option to set output filename to source filename
Posted: Tue Nov 09, 2021 1:59 pm
by cday
xnview wrote: Tue Nov 09, 2021 1:46 pm
Currently which output filename is used?
cday wrote: Mon Nov 08, 2021 9:41 am
Output filename of the file created is Image_1.pdf.
The filename of the first file in the filelist:
Code: Select all
Image_1.tif
Image_2.tif
Image_3.tif
Output multipage file is
Image_1.pdf.
Re: Input from filelist - Option to set output filename to source filename
Posted: Tue Nov 09, 2021 4:30 pm
by xnview
but which output filename do you want?
Re: Input from filelist - Option to set output filename to source filename
Posted: Tue Nov 09, 2021 4:54 pm
by cday
xnview wrote: Tue Nov 09, 2021 4:30 pm
but which output filename do you want?
For filelist
abc.txt output file
abc.pdf.
Re: Input from filelist - Option to set output filename to source filename
Posted: Wed Nov 10, 2021 9:35 am
by xnview
Strange, i have the name of first filename in filelist not filelist name...
Re: Input from filelist - Option to set output filename to source filename
Posted: Wed Nov 10, 2021 9:49 am
by cday
xnview wrote: Wed Nov 10, 2021 9:35 am
Strange, i have the name of first filename in filelist not filelist name...
Yes, that is the problem I reported!

Re: Input from filelist - Option to set output filename to source filename
Posted: Wed Nov 10, 2021 12:32 pm
by xnview
Sorry i'm blind

, i'll change it
Re: Input from filelist - Option to set output filename to source filename
Posted: Wed Nov 24, 2021 8:15 pm
by cday
Bug corrected in NConvert 7.98, thanks!
