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

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

Moderators: helmut, XnTriq, xnview

Post Reply
hmayer1980
Posts: 7
Joined: Sun Jun 29, 2014 8:47 am
Contact:

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

Post 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.
Attachments
Watermark I use
Watermark I use
watermark-large.png (392 Bytes) Viewed 2455 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

you need to put params for watermark before -wmfile

Code: Select all

-wmflag bottom-right -wmopacity 100 -wmfile %batchdir%watermark-large.png 
Pierre.
hmayer1980
Posts: 7
Joined: Sun Jun 29, 2014 8:47 am
Contact:

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

Post 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!
User avatar
DilSpi
Posts: 9
Joined: Sun Jun 15, 2008 7:01 pm
Contact:

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

Post 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 :)
User avatar
lian
Posts: 230
Joined: Wed Nov 24, 2004 8:53 pm
Contact:

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

Post by lian »

+1
I lost too much time how to make this wmflag worked.
SF, illustrations et mes BD sur mon blog: https://www.li-an.fr/
Windows 10 Home 64 bits
Post Reply