all formats and rekursive

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
mfeske
Posts: 42
Joined: Fri May 15, 2009 10:00 am

all formats and rekursive

Post 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 
Post Reply