Page 1 of 1

How to use the wmfile option

Posted: Thu Nov 25, 2004 3:46 pm
by mads
I have tried to watermark a picutre, but I failed... can someone help me ?

I used nconvert 4.25 on windows

nconvert -o new.gif -wmfile wm.gif original.gif

-- also if I used the "-wmflag top-left" i recieved the message "cant open file <wmflag>"

Re: How to use the wmfile option

Posted: Thu Nov 25, 2004 4:06 pm
by xnview
mads wrote:I have tried to watermark a picutre, but I failed... can someone help me ?

I used nconvert 4.25 on windows

nconvert -o new.gif -wmfile wm.gif original.gif

-- also if I used the "-wmflag top-left" i recieved the message "cant open file <wmflag>"
Watermark is only possible with 32 bpp picture. Do you use:
nconvert -o new.gif -wmfile wm.gif -wmflag top-left original.gif?

reply

Posted: Fri Nov 26, 2004 9:12 am
by mads
Thanks Pierre! It works when I use JPG and PNG pictures :)

The problem with -wmflag top-left is solved too, I dont remember how
I got the error, but I guess I was fustrating getting the watermark on the pic.

Thanks for great programs.

Mads

Posted: Mon Apr 07, 2008 2:24 pm
by Guest
Is there some special type of png required to get this to work?

I have a nice transparent png that looks fine in photoshop but when I use it as a watermark all I get is the watermark comped over white the background image isn't there. Nconvert reports "OK" but it is ignoring the transparency in the png.
I can do a convert without the watermark and that works....

Posted: Mon Apr 07, 2008 3:05 pm
by Guest
Ok so I can get this to work but its very long winded.

I have a png with tranparency and a watermark also a png with transparency to put over it.

I have to first convert the background png to a jpg
Then put the watermark on using -wmfile and save to a new png
Then convert the png to a jpg with yet another convert.

I would expect to be able to do this all in one line.... but at least it works.