Page 1 of 1
Totally Clueless on How to Start
Posted: 2015-07-23T17:15:31-07:00
by hamvvar
Hello Imagemagick community
Ok, here's the issue: I want to divide a large image (2250 x 28350 px) into 9 smaller images (2250 x 3150)
After browsing around stackexchange and other forums, Imagemagick is the most recommended piece of software, and they claim it's super simple to use.
I understand that Imagemagick is a command line tool, and I've taken a look at the readme file and the online documentation but it is all very opaque to me. I just have no idea how to even start the program. I'm primarily a visual designer and although I've been making strides in teaching myself to code this is as good as greek to me (I don't speak greek).
Any help or direction toward a concise walkthrough of how to get started would be super appreciated.
Re: Totally Clueless on How to Start
Posted: 2015-07-23T17:38:47-07:00
by fmw42
You can use -crop. See
http://www.imagemagick.org/Usage/crop/#crop_equal
Code: Select all
convert inputimage.suffix -crop 1x3% +repage +adjoin resultimage.suffix
you will get 3 images: resultimage-0.suffix, resultimage-1.suffix, resultimage-2.suffix
For new users, see
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/Usage/reference.html
Re: Totally Clueless on How to Start
Posted: 2015-07-23T17:43:15-07:00
by hamvvar
Thank you. That looks relatively simple, but how do I start imagemagick and get my image into imagemagick to begin with?
EDIT: I really apologize, I just don't know what I'm missing.
Re: Totally Clueless on How to Start
Posted: 2015-07-23T17:48:29-07:00
by fmw42
You must install it either from Binary or from source. Binary is simpler, depending upon your platform. What platform are you using? Is there a binary in the link below for your OS?
http://www.imagemagick.org/script/binary-releases.php
Follow the instructions for installation.
The if installed correctly and you have done the tests listed, such as
(and then open the image in some viewer)
then just open a terminal window (Command window in Windows) and cut and paste or type my command above. You need to be in the directory that contains your image when running in the terminal, so cd to that directory first or put the full path to the input and output images with the filenames and you can run from anywhere.
Re: Totally Clueless on How to Start
Posted: 2015-07-23T17:52:49-07:00
by hamvvar
I'm in windows 8, i have already installed the program.
Just to be clear, are you saying that if I go into my command prompt it will just 'automagically' recognise the Imagemagick commands? If so that's pretty sweet.
Re: Totally Clueless on How to Start
Posted: 2015-07-23T17:55:23-07:00
by fmw42
I believe that is the case if you have installed Imagemagick properly. Let us know. There are Windows experts here that can help. I am not a Windows user. So they can pick up if IM is not properly installed.
Try the install tests that I list above, which should be mentioned on the binary download page as well.
Re: Totally Clueless on How to Start
Posted: 2015-07-23T18:01:48-07:00
by hamvvar
Ok, I'll give that all a shot and report back
Re: Totally Clueless on How to Start
Posted: 2015-07-23T18:17:35-07:00
by hamvvar
Hahaha yes, i did it. thank you so much!