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
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
22 votes
2 answers
8k views

Convert HTML to image

Background Batch convert various syntax-highlighted source files (C, SQL, Java, PHP, batch, bash) into high-resolution images (600dpi), suitable for an eBook and printed book. Failed Solutions A ...
Dave Jarvis's user avatar
  • 3,268
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
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
19 votes
3 answers
80k views

Command Line loop to run command on all files in a directory (plus sub directories, if possible

I'm assuming this is fairly easy to do, but I have zero experience with Windows's command line utilities. Basically, I need to iterate over all files in a directory (great if it can do sub-directories,...
Robert's user avatar
  • 531
18 votes
2 answers
27k views

Using Ghostscript to convert multi-page PDF into single JPG?

I know Ghostscript can convert PDFs to JPGs, and in the case of a multi-page PDF, can rip each page to an individual JPG. But is it possible to have it rip them to one JPG, so that the pages are ...
Andrew's user avatar
  • 589
16 votes
2 answers
17k views

How can I deskew and crop PDFs made from scanned pages *automatically*? [duplicate]

Possible Duplicate: Which free software can I use to deskew scanned images I have several PDFs made up of book pages' scans. The scans are made from two pages at a time and some of these scans ...
Pietro M.'s user avatar
  • 369
4 votes
1 answer
857 views

Batch convert 4 PDF pages to one PDF page

I have a PDF with 100 pages. How can I make a new PDF that displays 4 pages on one? I know that I can do it with Chrome by printing the PDF to new PDF and change this in the options. But I want to ...
Alon's user avatar
  • 165
3 votes
2 answers
3k views

Cannot run 'display' after ImageMagick install on Ubuntu

I'm trying to install ImageMagick to my Ubuntu box. I've run the following command: sudo aptitude install imagemagick Now whenever I try to run 'display' from the command line, I get an error saying ...
LJM's user avatar
  • 135
2 votes
2 answers
6k views

ImageMagick import command gives error on windows?

I get the following error when I run the import command of ImageMagick from command-line import: unable to open X sever '(null)' @error /import.c/ImportImageCommand/362 [No such file or directory] ...
Muhammad Irfan's user avatar
1 vote
2 answers
2k views

Accessing parent and grandparent directory from linux find and passing to xargs

I'm trying to do a batch imagemagick conversion on all tiffs in directories. The structure of the directories looks like: test 123 456 image.tif 256 857 ...
Goat Karma's user avatar
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
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

15 30 50 per page