Page 1 of 1

all formats and rekursive

Posted: Wed Jun 17, 2009 10:50 am
by mfeske
Hello all here,
i use this batch, to make from 1 picture 3 in different dimensions with watermark. it wors for this one folder correct.
what must i change that:
1) it works with all picture files png, tiff, jpg etc. and gives the orginal format back
2) that it works rekursive in the source folder and make the same folder structur in the target folder?

Greetings micha

Code: Select all

rem dimension s
h:\exe\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o H:\neu\ch_%%_wm_s.jpg -dpi 200 -ratio -rtype lanczos -rflag orient -resize 330 0 -wmfile "h:\logo\in_use\picture\ch_vetsuisse_s.tif" -wmpos -10 -10 -wmflag bottom-right -wmopacity 70 h:\alt\*.jpg
rem dimension m
h:\exe\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o H:\neu\ch_%%_wm_m.jpg -dpi 300 -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "h:\logo\in_use\picture\ch_vetsuisse_m.tif" -wmpos -10 -10 -wmflag bottom-right -wmopacity 70 h:\alt\*.jpg
rem dimension org
h:\exe\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o H:\neu\ch_%%_wm.jpg -resize 0 0 -wmfile "h:\logo\in_use\picture\ch_vetsuisse_xl.tif" -wmpos -10 -10 -wmflag bottom-right -wmopacity 70 h:\alt\*.jpg
pause
exit