Page 1 of 1

Process filelist

Posted: Fri Nov 11, 2005 2:21 pm
by Hacker
Hi Pierre,
Could you please add an option for XnView to read filenames from a filelist? A filelist would look like this:

c:\long name\file.jpg
c:\long name\file2.jpg
d:\another dir\another file.bmp

A parameter like "-l <filelist.txt>" or "-list <filelist.txt>" could be used.

TIA
Roman

Re: Process filelist

Posted: Sat Nov 12, 2005 3:31 pm
by Lesmo16
I highly support this request.
Hacker wrote:A parameter like "-l <filelist.txt>" or "-list <filelist.txt>" could be used.
And the parameter "-l" would be available, so Roman is well prepared - as usual! :)

Posted: Sat Nov 12, 2005 4:52 pm
by helmut
This is really a good and very important suggestion, Roman. Currently, scripting is a bit hard since file lists cannot be passed easily. Adding this will make nconvert much more flexible and mighty and scripts simpler.

I think the mid- / longterm consequence is having both an option for including a file list and another one for including a process list. The process list will be a plain text file containing processes which should all be applied on the image files. The process list will make things more flexible and make sure that files do not have to be saved and opened over and over again for applying several processes. This should improve performance and improve quality of the results since nconvert can apply all processes in one step without intermediate saving. (Currently, if you use a lossy image format quality will decrease whenever applying a process and saving).

Re: Process filelist

Posted: Mon Nov 14, 2005 8:03 am
by xnview
Hacker wrote:Hi Pierre,
Could you please add an option for XnView to read filenames from a filelist? A filelist would look like this:

c:\long name\file.jpg
c:\long name\file2.jpg
d:\another dir\another file.bmp

A parameter like "-l <filelist.txt>" or "-list <filelist.txt>" could be used.
Yes, good feature, i'll add it

Posted: Thu Aug 24, 2006 8:10 am
by Guest
Any news on this?

As far as I can tell (looking at -help), there is still no option for this.

Posted: Thu Aug 24, 2006 10:00 am
by xnview
Anonymous wrote:Any news on this?

As far as I can tell (looking at -help), there is still no option for this.
I'll add this option in next release...

Posted: Thu Aug 24, 2006 4:59 pm
by Guest
xnview wrote:I'll add this option in next release...
Great! Thanks a lot

Posted: Sun Oct 07, 2007 4:40 pm
by Hacker
After a long time - thank you! :)

However, when I execute

Code: Select all

nconvert.exe -l listfile.txt
all files are processed correctly but at the end I get an error message saying:
Error: Don't know how to read this picture (listfile.txt)
Any ideas?

TIA
Roman

Re: Process filelist

Posted: Sun Oct 07, 2007 6:53 pm
by oops66
Hacker wrote:Hi Pierre,
Could you please add an option for XnView to read filenames from a filelist? A filelist would look like this:
c:\long name\file.jpg
c:\long name\file2.jpg
d:\another dir\another file.bmp
A parameter like "-l <filelist>" or "-list <filelist>" could be used.
TIA
Roman
*****************************
Hi,
You already can do this kind of thing in XnView by slide-file.sld
And you have juste to put you file liste:
c:\long name\file.jpg
c:\long name\file2.jpg
d:\another dir\another file.bmp
...
At the end of this .sld file.
(Timer = 0 or 2 or more)

--------- slide-file.sld -------------
# Slide Show Sequence
Timer = 2.000000
Loop = 0
FullScreen = 1
TitleBar = 1
Fit = 0
StrechVideo = 0
High = 1
CenterWindow = 1
ReadErrors = 1
RandomOrder = 0
ShowText = 0
Text = <Directory><Filename> <Width>x<Height>||<Date>||ISO <ISO> - F<F> - S <Exposure>||Focale <Focal> <Focal>||<Make> <Model> <Flash> <Flash>||
BackgroundColor = 0
FontName = "Courier"
FontBold = 0
FontItalic = 0
FontHeight = -13
TextColor = ffffff
TextPosition = 6
Effect = 2
EffectMask = 16777215
"c:\long name\file.jpg"
"c:\long name\file2.jpg"
"d:\another dir\another file.bmp"
...

Posted: Sun Oct 07, 2007 7:48 pm
by Hacker
Well, in the original post I meant NConvert of course. ;)

Roman

Posted: Sun Oct 07, 2007 8:54 pm
by oops66
Hacker wrote:Well, in the original post I meant NConvert of course. ;)
Roman
Yes, but maybe Nconvert can generate and launch this kind of file With a futur parameter -slide_list <filelist>?
It's only a suggestion !

Posted: Mon Oct 08, 2007 6:50 am
by xnview
Hacker wrote: all files are processed correctly but at the end I get an error message saying:
Error: Don't know how to read this picture (listfile.txt)
Any ideas?
Ok, i'll check...

Posted: Mon Oct 22, 2007 3:20 pm
by Hacker
Not fixed in XnView 1.91.6.

Roman

Posted: Wed Dec 19, 2007 11:39 pm
by Hacker
Fixed in XnView 1.92. :)
Thanks a lot!

Roman