Converting using .xbs file
Moderators: helmut, XnTriq, xnview
Converting using .xbs file
Hello everybody,
i have make xbs files with xnview.
Can I use this 123.xbs to convert with nconvert?
What must I write to convert all pictures in d:\test ?
What must I write to convert all pictures in d:\test an all other folders under d:\test?
Greetings
Micha
i have make xbs files with xnview.
Can I use this 123.xbs to convert with nconvert?
What must I write to convert all pictures in d:\test ?
What must I write to convert all pictures in d:\test an all other folders under d:\test?
Greetings
Micha
Re: nconvert batch
Use xnview to load your script and export it as batch script for nconvertmfeske wrote:Can I use this 123.xbs to convert with nconvert?
nconvert ... d:\test\*.*What must I write to convert all pictures in d:\test ?
Currently not possible directly with nconvert, but you can with a scriptWhat must I write to convert all pictures in d:\test an all other folders under d:\test?
Pierre.
Re: nconvert batch
Hello,
thanks for your answer.
I haven´t found the export to batch script, where must I search.?
Where can I found a script to works with nconvert an all folder under d:\test ?
Greetings
thanks for your answer.
I haven´t found the export to batch script, where must I search.?
Where can I found a script to works with nconvert an all folder under d:\test ?
Greetings
xnview wrote:Use xnview to load your script and export it as batch script for nconvertmfeske wrote:Can I use this 123.xbs to convert with nconvert?
nconvert ... d:\test\*.*What must I write to convert all pictures in d:\test ?
Currently not possible directly with nconvert, but you can with a scriptWhat must I write to convert all pictures in d:\test an all other folders under d:\test?
Re: nconvert batch
Batch convert/EXportmfeske wrote: I haven´t found the export to batch script, where must I search.?
Pierre.
Re: nconvert batch
Hello Pierre,
thanks for your fast answer. Now I found this Option.
Is this only for the files in the folder where the batch file is inside?
Where can I change this?
What must I do, that it works with folder deeper this one?
Where is my mistake?
I will convert all jpg from f:\vetmed_converter\picture\incoming\ to f:\vetmed_converter\picture\outgoing\ with prefix de and suffix m , but the batch file isn´t work, it shows only the nconvert freeware information.
nconvert.exe -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o f:\vetmed_converter\picture\outgoing\de_%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "F:\vetmed_converter\logo\in_use\de_logo_fu_m.tif" -wmflag bottom-right
Greetings.
Michael
thanks for your fast answer. Now I found this Option.
Is this only for the files in the folder where the batch file is inside?
Where can I change this?
What must I do, that it works with folder deeper this one?
Where is my mistake?
I will convert all jpg from f:\vetmed_converter\picture\incoming\ to f:\vetmed_converter\picture\outgoing\ with prefix de and suffix m , but the batch file isn´t work, it shows only the nconvert freeware information.
nconvert.exe -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o f:\vetmed_converter\picture\outgoing\de_%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "F:\vetmed_converter\logo\in_use\de_logo_fu_m.tif" -wmflag bottom-right
Greetings.
Michael
Last edited by mfeske on Mon May 18, 2009 8:36 am, edited 1 time in total.
Re: nconvert batch
add at the end, the list of files. nconvert ..... source/*.jpgmfeske wrote:Is this only for the files in the folder where the bacth file is inside?
Where can I change this?
Pierre.
Re: nconvert batch
sorry haven´t see your post and i have edit my post.xnview wrote:add at the end, the list of files. nconvert ..... source/*.jpgmfeske wrote:Is this only for the files in the folder where the bacth file is inside?
Where can I change this?
Re: nconvert batch
sory, i think i ám so stupid 
nconvert.exe -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o f:\vetmed_converter\picture\outgoing\de_%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "F:\vetmed_converter\logo\in_use\de_logo_fu_m.tif" -wmflag bottom-right source/*.jpg
isn´t working
in F:\vetmed_converter\logo\in_use\ is my logo file de_logo_fu_m.tif
in F:\vetmed_converter\picture\incoming is my source file for example P1020279.jpg and this time my batch and nconvert to
in f:\vetmed_converter\picture\outgoing\ i will have my target files with prefix de and suffix m

nconvert.exe -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o f:\vetmed_converter\picture\outgoing\de_%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "F:\vetmed_converter\logo\in_use\de_logo_fu_m.tif" -wmflag bottom-right source/*.jpg
isn´t working
in F:\vetmed_converter\logo\in_use\ is my logo file de_logo_fu_m.tif
in F:\vetmed_converter\picture\incoming is my source file for example P1020279.jpg and this time my batch and nconvert to
in f:\vetmed_converter\picture\outgoing\ i will have my target files with prefix de and suffix m
Re: nconvert batch
So it's
Code: Select all
nconvert.exe -out jpeg -o f:\vetmed_converter\picture\outgoing\de_%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "F:\vetmed_converter\logo\in_use\de_logo_fu_m.tif" -wmflag bottom-right F:\vetmed_converter\picture\incoming\*.jpg
Pierre.
Re: nconvert batch
xnview wrote:So it'sCode: Select all
nconvert.exe -out jpeg -o f:\vetmed_converter\picture\outgoing\de_%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "F:\vetmed_converter\logo\in_use\de_logo_fu_m.tif" -wmflag bottom-right F:\vetmed_converter\picture\incoming\*.jpg
Hello Pierre,
sorry but it isn´t working on my computer. Allt times nconvert shows the information screen but isn´t work.
Can I send you testfiles ?

Can this de_%_m.jpg be the Problem?
I have test it with %% than it´s okay, but the konvertierung is not okay. I will resize this picture

to one with and hight automatically. when I use the script in xnview its okay

when i export it to batch isn´t okay


Size not correct, Watermark not correct position must be -5,-5, Watermark alpha not correct must be 70

My batchline now is:
Code: Select all
nconvert.exe -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o G:\vetmed_converter\picture\outgoing\de_%%_m.jpg -dpi -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "G:\vetmed_converter\logo\in_use\picture\de_logo_fu_m.tif" -wmflag bottom-right -wmopacity 70 "G:\vetmed_converter\picture\incoming\P1020279.JPG" G:\vetmed_converter\picture\incoming\*.jpg
pause
exit
Greetings
Michael
Re: nconvert batch
Hello Pierre,xnview wrote:Yes, and the xbs too pleasemfeske wrote: Can I send you testfiles ?
where can I send it ?
Greetings Michael
Re: Converting using .xbs file
you haven´t receive it?