Page 1 of 1

wmark is not positioned bottom-right -breaking change 6.70?

Posted: Tue Mar 31, 2015 4:29 pm
by hmayer1980
Hello,

recently I setup a new laptop and had to install nconvert again. This is a newer version as the one I have created my batch file with.
In the new Version the watermark is located at the top left even though if use the bottom-right wmflag.
Also the quiet option is not so quiet anymore...

The Command at the moment is like

Code: Select all

echo on
cls
setlocal
set workdir=%1
set batchdir=%~dp0
set nconvert="C:\Program Files\XnConvert\nconvert.exe"

rem "Generate L Thumbnails"
%nconvert% -quiet -overwrite -o $thumbs\phoca_thumb_l_%% -opthuff -dct 2 -subsampling 2 -keepfiledate -rexifthumb -ratio -rtype lanczos -rflag decr -resize longest 800 -wmfile %batchdir%watermark-large.png -wmflag bottom-right -wmopacity 100 %workdir%\*.JPG

Have there been breaking changes from Version 6.56 (the exported help notes this old version number) to Version 6.70 (the current version)?

How do I fix the wrong position of the watermark?
Even with quiet the batch outputs something like

Code: Select all

Marker : e1  13820
Marker : e1  2556
If I remove the quiet it shows the same output so it might not be an error??
I wonder if I could access the old versions executable somewhere to download the old version instead of the current one? On the other hand its a good thing to improve the software.

Any help is appreciated.

Re: wmark is not positioned bottom-right -breaking change 6.

Posted: Sat Apr 04, 2015 3:04 pm
by xnview
you need to put params for watermark before -wmfile

Code: Select all

-wmflag bottom-right -wmopacity 100 -wmfile %batchdir%watermark-large.png 

Re: wmark is not positioned bottom-right -breaking change 6.

Posted: Sun Apr 05, 2015 2:58 pm
by hmayer1980
Thank you, that does the trick!

also just for future references - it worked in the old Version with any orther. See also this Post http://newsgroup.xnview.com/viewtopic.php?f=57&t=30294 - I have used the order before and it worked...

Also in the helpfile - and I tried to keep the order as it is in the hlep - ist the other way arround...
-wmfile file : Watermark file
-wmpos x y : Watermark position
-wmflag flag : Watermark Position

Again, this comments are just to improve the Software, and many thanks for the workaround!

Re: wmark is not positioned bottom-right -breaking change 6.

Posted: Thu May 14, 2015 11:50 pm
by DilSpi
would love to see the help-files order also as hmayer1980 suggested.
text seem to need a special sort-order too.
maybe it would help to better understand to give a general advice how the order should be used.
Dil :)

Re: wmark is not positioned bottom-right -breaking change 6.

Posted: Thu Aug 13, 2015 12:49 pm
by lian
+1
I lost too much time how to make this wmflag worked.