Page 1 of 1

Convert function problem

Posted: 2013-03-01T06:20:02-07:00
by Amarok
Hi,

I have a problem with the convert function :

I runned the convert function thanks to a .bat file like that : "convert -negate N.png IN.png" and the same function never stop. In the batch windows i can see the same function appear again and again.

Since, each time i run a convert function, program never stop, run the same function and i have to stop it with Ctrl+C.

http://img15.hostingpics.net/pics/486262impr.png

Can you help me ?

Thank you in advance .

Amarok

Re: Convert function problem

Posted: 2013-03-01T08:36:08-07:00
by Bonzo
The input should come before the -negate:

Code: Select all

convert N.png -negate IN.png
Try enclosing your file name in " " as you have spaces in the filename.

Code: Select all

convert "N.png" -negate IN.png

Re: Convert function problem

Posted: 2013-03-01T08:42:12-07:00
by snibgo
What is the batch file named? If it is named "convert.bat", it is calling itself.

Re: Convert function problem

Posted: 2013-03-14T03:43:07-07:00
by Amarok
Hi,

Yes indeed snibgo the name file was convert.bat i found myself later.

Thanks :)