ImageMagick is a set of command line utilities to modify, transform, and convert images. The utilities are available for all major OSes.

learn more… | top users | synonyms

0
votes
1answer
192 views

Configure macports to build and install to user-specified directory?

I want several machines on my network to be able to use some libraries installed with MacPorts (the libraries are ImageMagick and its dependent image libs). I do not want to build and install for ...
1
vote
1answer
3k views

Error 800A01AD in VBScript on Windows Vista 64bit when create ActiveX object

I write script in VBScript for converting images. It use ImageMagic ActiveX. I write this script in Windows XP, it's run normaly, the same with Windows Vista 32bit, but in 64bit I have 800A01AD error ...
0
votes
1answer
748 views

Shell script with ImageMagick: hangs forever?

I've generated a shell script that uses ImageMagick to convert and crop around 18000 images. Here's a sample entry (so there are 18000 of these): if [ ! -f ./cropped/16333-1.png ] then convert -crop ...
3
votes
1answer
1k views

How to average multiple images into one with ImageMagick?

convert -average darky1.jpg darky2.jpg lighty1.jpg lighty2.jpg l.ppm convert -average lighty1.jpg lighty2.jpg lighty1.jpg lighty2.jpg d.ppm l.ppm is much lighter than d.ppm. The order of images ...
10
votes
3answers
10k 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 ...
1
vote
2answers
419 views

Video from Frames at the OS X Command Line or Python?

I am looking for a good way to turn a stack of images into a video on the command line or python. Here is my setup: OS X 10.6 Sequence of images either in png or pdf format. (i.e. 001.png, ...
5
votes
3answers
5k views

Using GraphicsMagick or ImageMagick, how do I replace transparency with a fill colour?

Using GraphicsMagick, it's fairly easy to replace one colour with transparency... gm convert -transparent magenta src.png dst.png Unfortunately, I can't figure out a simple way to do the exact ...
20
votes
3answers
3k 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 ...
5
votes
2answers
3k views

How to stretch an image in one dimension?

The title says much, but I'll explain in detail a little more. I need to stretch an image in one dimension only. That is, if the image is for example, 100x100 (Width x Height) I need it to be 100x104 ...
2
votes
6answers
4k views

Sort and rename images by date in EXIF info

I have a mess in my photos folder; I want to sort them according to date in EXIF information and rename according to the date (like 001.jpg, 002.jpg and so on). How can I do this in Linux? I have ...
1
vote
1answer
813 views

Tesseract OCR - Newbie Questions!

I just installed Tesseract OCR and was able to convert a TIF image to its corresponding text. The application seems fairly easy to use, but I am struggling finding the documentation that will help me ...
1
vote
1answer
318 views

How to make this imagemagick command work correctly?

# create a 2 color image from scratch to supply colors for mapping $ convert -size 10x10 xc:white -fill red -draw 'rectangle 0 0 5 5' \ -colors 2 +dither bicolor.gif # map 'em, Danno! $ convert ...
1
vote
2answers
4k 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] ...
1
vote
0answers
58 views

How is X-server configured with Windows XP? [duplicate]

Possible Duplicate: ImageMagick import command gives error on windows?? Well I have installed two X-Servers that are Xming And Cygwin. As the import command of ImageMagick works on ...
11
votes
2answers
13k 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 ...
0
votes
2answers
316 views

Does mogrify copy images that fall through resize filter?

I want to run the following command: mogrify -path /somepath -resize '1600x1600>' * are Images, that don't exceed the size of 1600x1600 copied to /somepath? (I am asking, since they would fall ...
91
votes
6answers
88k 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 ...
0
votes
2answers
875 views

imagemagick “CONVERT” command finer points under Ubuntu 10.4

I'm struggling a little with the command line running imagemagick. I need to convert many .jpg files to many PDF files. Each PDF has one jpg contained inside. I fount lots of tutorials on how to ...
6
votes
5answers
10k views

How to install RMagick RubyGem on Mac OS X 10.6 Snow Leopard?

I am getting this error while trying to install RMagick: $ sudo gem install rmagick Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to ...
1
vote
1answer
550 views

How can I set a minimum thumbnail size with ImageMagick?

I'm trying to create thumbnails of JPG photos using ImageMagick's convert tool. The thumbnails need to have a defined size (210x159), no blank areas, and the image can be cropped if necessary. ...
1
vote
1answer
4k views

Imagemagick convert with resample option

I am creating thumbnails from much larger images and have been using this command successfully for some time: convert FILE -resize "64x" -crop "64x64+0+16" +repage -strip OUTFILE I also do some ...
2
votes
4answers
4k views

Get the number of tiffs in a multi-tiff with command line ImageMagick?

Is there a way to get the number of tiffs in a multi-tiff with a command line utility in ImageMagick? What I want to to is to extract (split) the multi-tiff into single files. However if the tiff ...
1
vote
1answer
2k views

Imagemagick PDF to JPG conversion failing

I'm trying to convert the first page of a PDF to a JPG. I'm pretty sure I got this to work with certain PDFs, but is it really possible that certain PDFs are made incorrectly and cannot be converted? ...
0
votes
2answers
1k views

ImageMagick convert

convert is not working on the Linux server I am using $ convert exploss_stumps.jpg exploss_stumps.eps convert: missing an image filename `exploss_stumps.eps' @ convert.c/ConvertImageCommand/2838 ...
4
votes
5answers
3k views

Is there a server-side video manipulation software?

I'm looking for a hosted or self-hosted solution that will allow me to manipulate video files that are uploaded to a server by an end-user. Does anyone know of any solutions - open source or ...
3
votes
2answers
2k 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 ...
0
votes
2answers
3k views

Trying to install Rmagick on Debian

One of things you need to do to get Rmagick installed apt-get install libmagick9-dev When I try that I get the following errors Reading package lists... Done Building dependency tree... Done Some ...
1
vote
2answers
1k views

XAMPP + Windows 7 + ImageMagick = Impossible?

For some reason, over the past year I have tried to install imagemagick on my windows 7 machine running with XAMPP server (a LAMP package for windows) and I have failed every single try to the point ...
4
votes
1answer
2k views

ImageMagick - Replace the transparent part of a GIF with a solid colour?

I have a GIF file that has a transparent section. I want to replace that with just plain white (or some other colour), so that there is no transparent parts. Can I do this on the command line with ...
1
vote
1answer
5k views

ImageMagick's 'convert' won't set resolution?

I'm trying to create an image using imagemagick's "convert". I have this command: convert -size 720x480 xc:white -units pixelsperinch -density 81x72 foo.jpg However, the image ends up with a ...
1
vote
1answer
95 views

Execute command on a pair of files

Context :I've scanned a lot of old pictures, that have writing on the back. Using imagemagick, I can append the front and back of the picture like this : montage out20.jpg out21.jpg -gravity center ...
16
votes
6answers
23k 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 ...
2
votes
3answers
1k views

Imagemagick, Snow Leopard and PDF Conversion

Having difficulties with Imagemagick and Snow Leopard. Imagemagick was installed using the install script from here here. Everything builds and installs correctly. Imagemagick behave normally for ...