Process filelist

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

Moderators: XnTriq, xnview

Post Reply
Hacker
Posts: 208
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Process filelist

Post by Hacker » Fri Nov 11, 2005 2:21 pm

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

User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Re: Process filelist

Post by Lesmo16 » Sat Nov 12, 2005 3:31 pm

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! :)
Everyone who believes in telekinesis, raise my hand!

User avatar
helmut
Posts: 8217
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Sat Nov 12, 2005 4:52 pm

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).

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

Re: Process filelist

Post by xnview » Mon Nov 14, 2005 8:03 am

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
Pierre.

Guest

Post by Guest » Thu Aug 24, 2006 8:10 am

Any news on this?

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

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

Post by xnview » Thu Aug 24, 2006 10:00 am

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...
Pierre.

Guest

Post by Guest » Thu Aug 24, 2006 4:59 pm

xnview wrote:I'll add this option in next release...
Great! Thanks a lot

Hacker
Posts: 208
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Post by Hacker » Sun Oct 07, 2007 4:40 pm

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

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Process filelist

Post by oops66 » Sun Oct 07, 2007 6:53 pm

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 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Hacker
Posts: 208
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Post by Hacker » Sun Oct 07, 2007 7:48 pm

Well, in the original post I meant NConvert of course. ;)

Roman

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 » Sun Oct 07, 2007 8:54 pm

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 !
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

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

Post by xnview » Mon Oct 08, 2007 6:50 am

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...
Pierre.

Hacker
Posts: 208
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Post by Hacker » Mon Oct 22, 2007 3:20 pm

Not fixed in XnView 1.91.6.

Roman

Hacker
Posts: 208
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Post by Hacker » Wed Dec 19, 2007 11:39 pm

Fixed in XnView 1.92. :)
Thanks a lot!

Roman

Post Reply