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
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:
i cant understand why convert is behaving different when using cmd or bat !!
i have this image
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
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:
i cant understand why convert is behaving different when using cmd or bat !!