Page 1 of 2

Converting using .xbs file

Posted: Fri May 15, 2009 10:04 am
by mfeske
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

Re: nconvert batch

Posted: Sun May 17, 2009 4:33 pm
by xnview
mfeske wrote:Can I use this 123.xbs to convert with nconvert?
Use xnview to load your script and export it as batch script for nconvert
What must I write to convert all pictures in d:\test ?
nconvert ... d:\test\*.*
What must I write to convert all pictures in d:\test an all other folders under d:\test?
Currently not possible directly with nconvert, but you can with a script

Re: nconvert batch

Posted: Sun May 17, 2009 7:06 pm
by mfeske
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
xnview wrote:
mfeske wrote:Can I use this 123.xbs to convert with nconvert?
Use xnview to load your script and export it as batch script for nconvert
What must I write to convert all pictures in d:\test ?
nconvert ... d:\test\*.*
What must I write to convert all pictures in d:\test an all other folders under d:\test?
Currently not possible directly with nconvert, but you can with a script

Re: nconvert batch

Posted: Mon May 18, 2009 6:34 am
by xnview
mfeske wrote: I haven´t found the export to batch script, where must I search.?
Batch convert/EXport

Re: nconvert batch

Posted: Mon May 18, 2009 7:15 am
by mfeske
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

Re: nconvert batch

Posted: Mon May 18, 2009 8:15 am
by xnview
mfeske wrote:Is this only for the files in the folder where the bacth file is inside?
Where can I change this?
add at the end, the list of files. nconvert ..... source/*.jpg

Re: nconvert batch

Posted: Mon May 18, 2009 8:37 am
by mfeske
xnview wrote:
mfeske wrote:Is this only for the files in the folder where the bacth file is inside?
Where can I change this?
add at the end, the list of files. nconvert ..... source/*.jpg
sorry haven´t see your post and i have edit my post.

Re: nconvert batch

Posted: Mon May 18, 2009 9:08 am
by mfeske
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

Re: nconvert batch

Posted: Mon May 18, 2009 6:24 pm
by xnview
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

Re: nconvert batch

Posted: Tue May 19, 2009 1:41 pm
by mfeske
xnview wrote: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

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 ?
Image
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
Image
to one with and hight automatically. when I use the script in xnview its okay
Image
when i export it to batch isn´t okay :-(
Image
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
Please can anybody help me?
Greetings
Michael

Re: nconvert batch

Posted: Wed May 20, 2009 6:29 am
by xnview
mfeske wrote: Can I send you testfiles ?
Yes, and the xbs too please

Re: nconvert batch

Posted: Wed May 20, 2009 7:07 am
by mfeske
xnview wrote:
mfeske wrote: Can I send you testfiles ?
Yes, and the xbs too please
Hello Pierre,
where can I send it ?

Greetings Michael

Re: nconvert batch

Posted: Mon May 25, 2009 7:37 am
by xnview
mfeske wrote: where can I send it ?
contact at xnview dot com

Re: Converting using .xbs file

Posted: Mon May 25, 2009 8:02 am
by mfeske
you haven´t receive it?

Re: Converting using .xbs file

Posted: Mon May 25, 2009 8:03 am
by xnview
mfeske wrote:you haven´t receive it?
Oups, sorry i have it :-)