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

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

Moderators: 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 » Tue Mar 31, 2015 4:29 pm

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-large.png
Watermark I use
watermark-large.png (392 Bytes) Viewed 2004 times

User avatar
xnview
Author of XnView
Posts: 32708
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Sat Apr 04, 2015 3:04 pm

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 » Sun Apr 05, 2015 2:58 pm

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 » Thu May 14, 2015 11:50 pm

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 :)

lian
Posts: 207
Joined: Wed Nov 24, 2004 8:53 pm
Contact:

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

Post by lian » Thu Aug 13, 2015 12:49 pm

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

Post Reply