Process filelist
Moderators: helmut, XnTriq, xnview
-
- Posts: 242
- Joined: Tue May 17, 2005 9:24 pm
- Location: Bratislava, Slovakia
Process filelist
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
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
-
- Posts: 419
- Joined: Thu May 12, 2005 8:59 pm
- Location: Germany
Re: Process filelist
I highly support this request.

And the parameter "-l" would be available, so Roman is well prepared - as usual!Hacker wrote:A parameter like "-l <filelist.txt>" or "-list <filelist.txt>" could be used.

Everyone who believes in telekinesis, raise my hand!
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
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).
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).
-
- Author of XnView
- Posts: 45963
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Process filelist
Yes, good feature, i'll add itHacker 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.
Pierre.
-
- Author of XnView
- Posts: 45963
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 242
- Joined: Tue May 17, 2005 9:24 pm
- Location: Bratislava, Slovakia
After a long time - thank you! 
However, when I execute
all files are processed correctly but at the end I get an error message saying:
TIA
Roman

However, when I execute
Code: Select all
nconvert.exe -l listfile.txt
Any ideas?Error: Don't know how to read this picture (listfile.txt)
TIA
Roman
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: Process filelist
*****************************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"
...
XnViewMP Linux X64 - Debian - X64
-
- Posts: 242
- Joined: Tue May 17, 2005 9:24 pm
- Location: Bratislava, Slovakia
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
-
- Author of XnView
- Posts: 45963
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 242
- Joined: Tue May 17, 2005 9:24 pm
- Location: Bratislava, Slovakia
-
- Posts: 242
- Joined: Tue May 17, 2005 9:24 pm
- Location: Bratislava, Slovakia