convert.exe behaving diffrent between CMD and batch file !
Posted: 2015-06-21T04:48:20-07:00
This is very strange issue
i have this image
when using cmd and running this command
![Image](http://s28.postimg.org/ptjldrzq5/405_B_floodfill2.gif)
when i put the exact same command in a .bat file and place the .bat file in the same directory that i used with cmd i get this:
![Image](http://s22.postimg.org/harjgs1g1/405_B_floodfill.gif)
i cant understand why convert is behaving different when using cmd or bat !!
i have this image
![Image](http://s24.postimg.org/3jyyr6g9h/405_B.jpg)
when using cmd and running this command
Code: Select all
convert 405_B.jpg -threshold 50% -bordercolor white -border 10 -fill black -draw "color 0,0 floodfill" -alpha off -shave 10x10 405_B_floodfill.gif
![Image](http://s28.postimg.org/ptjldrzq5/405_B_floodfill2.gif)
when i put the exact same command in a .bat file and place the .bat file in the same directory that i used with cmd i get this:
![Image](http://s22.postimg.org/harjgs1g1/405_B_floodfill.gif)
i cant understand why convert is behaving different when using cmd or bat !!