No answer yet
Simplifying the idea, if NCONVERT obtains just
one file, assume it as text file containing both the commands, and the list of files ... just define a character or string preceding a new commandline to make it well distinguishable from a filename
SCRIPT.TXT
Code: Select all
### -truecolors -rotate 45 -text_font Lucida 14 -text_color 255 200 100 -text "Hello World" -rtype lanczos -resize 400% 400% -out bmp {EOL}
shot.bmp {EOL}
C:\test.bmp {EOL}
C:\test.jpg {EOL}
E:\foto\w0001.png {EOL}
### -truecolors -resize 300% 300% -out bmp {EOL}
C:\web\a.gif {EOL}
C:\web\b.gif {EOL}
C:\web\c.gif {EOL}
As in 4.86, if NC obtains just one file, it either dummy-converts it (A.PNG -> A.PNG , output just bigger), or can't do anything with a text file.
Helmut wrote (
http://newsgroup.xnview.com/viewtopic.php?t=3930 ) :
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).
No need for an "option" , just pass
one filename and nothing else !
