Process filelist
Moderators: helmut, XnTriq, xnview
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
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!
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).
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.
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
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