Skip to main content

Questions tagged [imagemagick]

ImageMagick is an open source software suite for displaying, converting and editing raster image files.

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 ...
Petter's user avatar
  • 2,721
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 ...
Meltemi's user avatar
  • 6,987
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 ...
Andrew's user avatar
  • 15.1k
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 ...
kenorb's user avatar
  • 25.8k
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:
Jo Liss's user avatar
  • 4,378
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?
GuillaumeThomas's user avatar
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 ...
user avatar
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 ...
user avatar
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 ...
Boris Däppen's user avatar
36 votes
8 answers
35k views

Square thumbnails with ImageMagick (convert)?

How to create square/cropped thumbnail using ImageMagick ? Cropping like below.
marioosh's user avatar
  • 3,591
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 ...
Kevin's user avatar
  • 1,623
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?
ohho's user avatar
  • 3,074
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 ...
GuillaumeThomas's user avatar
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 ...
bmikolaj's user avatar
  • 393
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 ...
ironsand's user avatar
  • 2,339

15 30 50 per page
1
2 3 4 5
33