Questions tagged [imagemagick]
ImageMagick is an open source software suite for displaying, converting and editing raster image files.
484
questions
261
votes
2
answers
231k
views
Vertically stack multiple images using ImageMagick
I would like to combine multiple images into one image using ImageMagick. To explain a little better, I want the result to look similar to this:
That is, I have a number of screenshots, and I want to ...
153
votes
2
answers
199k
views
How do you re-install a package with Homebrew (Mac)?
Struggling to find good Homebrew documentation (or tutorial)...
In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
101
votes
5
answers
101k
views
How to install rmagick on Ubuntu 10.04?
Here's what I've done so far:
sudo apt-get install imagemagick libmagickcore-dev
This did not throw any errors, so I think that ImageMagick is installed fine. Then I tried installing the gem:
sudo ...
99
votes
3
answers
44k
views
Can't convert PDF into image, because of 'no images defined' error
I've the following PDF file:
http://www.fmwconcepts.com/misc_tests/pdf_tests/test.pdf
But when I'm trying to convert it via:
$ convert test.pdf test.png
I've the following error:
convert: no ...
92
votes
3
answers
60k
views
Invert colors with ImageMagick
How do I invert the colors of an image using the ImageMagick convert tool, so that black becomes white and white becomes black?
In other words, I want to turn this:
into this:
76
votes
3
answers
53k
views
Appending images vertically in ImageMagick
convert -append 1.jpg 2.jpg out.jpg
This command appends 1.jpg and 2.jpg horizontally. What is the command to do this vertically?
76
votes
4
answers
81k
views
How to crop an image using ImageMagick from the command line?
I am trying to crop a 640x640 image using ImageMagick on the command line.
I need to remove about 20 pixels from the bottom part of the image all the way from left to right. A long strip along the ...
65
votes
6
answers
87k
views
How to merge pdf:s using Imagemagick (resolution problem)
When I try to merge two .pdf files using Imagemagick
convert pdf1.pdf pdf2.pdf temp.pdf
the resulting temp.pdf file seems to have very low resolution. How can I keep the resolution same as in the ...
58
votes
5
answers
75k
views
I want to change DPI with ImageMagick without changing the actual byte-size of the image data
In GIMP there is a very simple way to do what I want. I only have the German dialog installed but I’ll try to translate it. I’m talking about going to Picture -> PrintingSize and then adjusting the ...
36
votes
8
answers
35k
views
Square thumbnails with ImageMagick (convert)?
How to create square/cropped thumbnail using ImageMagick ? Cropping like below.
34
votes
3
answers
23k
views
Why is the gif I created so slow?
I am using ImageMagick to turn a collection of pngs into a single gif. I want this gif to loop as quickly as possible.
This is approximately the output I expect (courtesy of Wikipedia):
This is the ...
30
votes
4
answers
45k
views
How to convert a photo to a black and white image by ImageMagick?
How can I convert a JPEG photo to black and white (not grayscale) image like output of a FAX scanner, by ImageMagick?
29
votes
2
answers
26k
views
Command line to automatically crop an image?
By using Gimp's menu, you can automatically crop the image (removing white borders). I have a lot of images with white borders of different sizes. I want to remove them using Gimp in command line but ...
29
votes
1
answer
12k
views
Stack images vertically and center
I have several images of different widths and heights that I would like to stack vertically about their respective centers.
I've tried
convert 1.jpg 2.jpg 3.jpg -append out.jpg
But this aligns them ...
27
votes
1
answer
59k
views
Convert PDF to JPG images with ImageMagick - how to 0-pad file names?
I convert a pdf file to jpg images by using ImageMagick like this:
convert -density 600 foo.pdf foo.jpg
The created jpg images are named foo-1.jpg, foo-10.jpg and so on.
Is there way to 0-pad the ...