Page 1 of 1
how2 actual filename from the filelist for parameter -text ?
Posted: Tue May 15, 2012 3:42 pm
by tom*de
Hallo,
how can I get the actual filename from the filelist or the parameter -text?
"%" only works with parameter -o "i.g.: -o %.jpg", not with parameter -text "i.g.: -text %"
Code: Select all
nconvert.exe -resize 320 320 -text_font Verdana 14 -text_color 200 200 0 -text_flag bottom-left -text_pos 5 0 -text "%" -out jpeg -o "%.jpg" -L "TEST.LST"
only puts "%" into jpg, not the filename.
Any idea? Thanks, Tom
Re: how2 actual filename from the filelist for parameter -te
Posted: Wed May 16, 2012 7:26 am
by xnview
Currently not possible
Re: how2 actual filename from the filelist for parameter -te
Posted: Wed May 16, 2012 7:29 am
by tom*de
Thanky you, for answering. Any workaround possible - or could I wait to next version?
Re: how2 actual filename from the filelist for parameter -te
Posted: Sun May 20, 2012 7:19 pm
by tom*de
Are any time-variables or EXIF-variables available to insert it with "-text"
Re: how2 actual filename from the filelist for parameter -te
Posted: Mon May 21, 2012 1:42 pm
by tom*de
if anybody would like to know:
irfanview knows such variables in listfiles too, but i prefer nconvert and I solved the problem with totalcommander (button) and lst2run.exe:
Code: Select all
cmd70=%COMMANDER_PATH%\lst2run.exe
param70=?-e "%%COMMANDER_PATH%%\..\Foto\xnview\nconvert.exe" -s " -keepfiledate -resize 320 320 -ratio -q 85 -text_font Verdana 14 -text_color 200 200 0 -text_flag bottom-left -text_pos 5 0 -text #f -out jpeg -o "%T%%.jpg" \"#p\#f.#e\" " -l %L
menu70=nconvert: markierte Dateien konvertieren (320x320, Dateiname als Text ins Bild)
It converts all marked the files into target dir with options and insert each filename as text into picture. The disadvantage is that nconvert is started for each file (slower than nconverts internal -list)
Is it possible to give the text only a frame or a border instead of -text_back?
Re: how2 actual filename from the filelist for parameter -te
Posted: Thu Jun 14, 2012 5:49 pm
by tom*de
Currently not possible
are there plans to integrate -text parameters?
Re: how2 actual filename from the filelist for parameter -te
Posted: Thu Jun 14, 2012 6:42 pm
by xnview
tom*de wrote:Currently not possible
are there plans to integrate -text parameters?
yes i'll add them
Re: how2 actual filename from the filelist for parameter -te
Posted: Thu Jun 14, 2012 7:59 pm
by tom*de
Thanks in advance, and I hope that also other needs and see the benefits...