Background.png + wmfile*.png -> Background_wmfile*.png ?

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

Moderators: helmut, XnTriq, xnview

Post Reply
tireless
Posts: 23
Joined: Sun Oct 26, 2008 1:01 am

Background.png + wmfile*.png -> Background_wmfile*.png ?

Post by tireless »

Lots of Watermark files with one Background image,to make Background_wmfile*.png,how to do that?

this doesn't work:

Code: Select all

nconvert.exe -wmfile wmfile*.png -wmflag bottom-right -o %%_new.png Background.png
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Background.png + wmfile*.png -> Background_wmfile*.pn

Post by xnview »

Could you post which result do you would like? And original picture
Pierre.
tireless
Posts: 23
Joined: Sun Oct 26, 2008 1:01 am

Post by tireless »

Image
Background.png

Image
wmfile1.png

Image
wmfile2.png

Is there a way to make below images with one command or nconvert script?
Image Image
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Do you have tried with the last nconvert?
Pierre.
tireless
Posts: 23
Joined: Sun Oct 26, 2008 1:01 am

Post by tireless »

xnview wrote:Do you have tried with the last nconvert?
Yes,i did.Very thanks you fixed that problem.

I means,the normal way is execute twice:

Code: Select all

nconvert -o 1.png -wmfile wmfile1.png -wmflag bottom-right Background.png 

Code: Select all

nconvert -o 2.png -wmfile wmfile2.png -wmflag bottom-right Background.png 
Can execute only once?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Do you have tried to use a script file?
Pierre.
tireless
Posts: 23
Joined: Sun Oct 26, 2008 1:01 am

Post by tireless »

xnview wrote:Do you have tried to use a script file?
it works. :)
(i have tried before,and didn't work,maybe i typed wrong words.)

-----------------------------------------------------------------------------

the script file is it right?

Code: Select all

### -o 1.png -wmfile wmfile1.png -wmflag bottom-right
Background.png

### -o 2.png -wmfile wmfile2.png -wmflag bottom-right
Background.png
Post Reply