Page 1 of 1
Sorry to be thick
Posted: 2015-03-04T00:45:53-07:00
by ianboag
I haven't figured out how I get this command line thing going ...
I have a BMP
I want to rotate it 180 degrees
then crop it by some specified amount
then add a watermark
then resize it down a bit
then make it a jpg
I bet there's someone who could show me the (DOS) batch file code that would do this
Call me thick ....
Cheers IB
Re: Sorry to be thick
Posted: 2015-03-04T01:30:28-07:00
by Bonzo
Everybody has to learn at some point ianboag.
I am not a big batch file user but I have written some examples on my
website.
Re: Sorry to be thick
Posted: 2015-03-04T12:54:33-07:00
by ianboag
Thanks Bonzo. I am a fairly competent batch file user - I just couldn't figure what program I invoke to get the functions. I sort of assumed it would be "ImageMagick" followed by specific commands. Now I understand (I think) ...
Re: Sorry to be thick
Posted: 2015-03-04T13:06:57-07:00
by snibgo
It would be ...
Code: Select all
convert inputfile some_options outputfile
For some_options, see
http://www.imagemagick.org/script/comma ... ptions.php
See also the usage page for loads of examples (but in Unix format):
http://www.imagemagick.org/Usage/basics/
See my pages for loads of Windows BAT examples, but they are sometimes more advanced.
Re: Sorry to be thick
Posted: 2015-03-04T13:16:11-07:00
by Bonzo
One thing to note is Windows has a convert program as well. I have never had a problem as I let Imagemagick install an environmental variable to Windows. I assume the people who have a problem do not do this and then instead of using Imagemagick convert to modify their image they are using the Windows program that renames files. So the outcome is an error message that confuses them.
You can rename the Imagemagick convert program to get around this. In IM version 7 you will be able to use magick instead of convert.