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

1
vote
1answer
22 views

Any differences between identify --verbose and exiftool?

Wanted to know if people know of any major differences between identify --verbose and exiftool. A picture here :- ─[$] identify -verbose me_at_minidebconf_thumbnail.jpeg ...
2
votes
3answers
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 ...
2
votes
1answer
29 views

How to convert PDF from two slides per page into one slide per page?

I have a presentation in pdf file with two slides per page. I want a presentation in pdf file with one slide per page. I tried using ImageMagick: convert -crop 1x2@ orig.pdf t2.pdf It ...
57
votes
1answer
41k views

Combine 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 ...
9
votes
6answers
11k views

Square thumbnails with ImageMagick (convert)?

How to create square/cropped thumbnail using ImageMagick ? Cropping like below.
1
vote
1answer
24 views

Converting from color to true black and white in ImageMagick? [duplicate]

I have seen how to convert a picture from color to grayscale in this Super User question and answer thread. However, grayscale is not black and white. Simply put, if a field has color, I want to ...
1
vote
2answers
4k 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?
15
votes
4answers
18k views

I want to change DPI with Imagemagick without changing the actual byte-size of the image data

I feel so horribly sorry that I have to ask this question here, but after hours of researching how to do an actually very simple task I'm still failing... In Gimp there is a very simple way to do ...
0
votes
1answer
2k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run 'sudo pecl install imagick', I get this error: checking ImageMagick MagickWand API configuration program... ...
1
vote
0answers
70 views

Gif output not as smooth when selecting a sequence of files individually

I have a sequence of images 001.png 002.png 003.png that I would like to combine into an animation. I used the following command convert -dispose 3 -loop 0 *.png out.gif And it looks ok. However, ...
0
votes
1answer
701 views

Transparency issues when converting png's to gif

I am using imagemagick's convert to take a set of PNG's and convert to GIF. The command I am using is convert -delay 10 -loop 0 *.png out.gif I like the results as there is little drop in visual ...
2
votes
1answer
1k views

ImageMagick mogrify does not overwrite original files

I would like to convert image formats. I can use 'convert' command, but it made another image. So I searched and find 'mogrify' command in ImageMagick official page. What I did was mogrify ...
5
votes
1answer
667 views

Unable to install Imagemagick on Ubuntu 12.10

I've got a virtual machine running on Ubuntu 12.10. When I try to run apt-get install imagemagick I get several 404 errors: Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main libcups2 ...
4
votes
2answers
1k views

Building ImageMagick on OSX Lion and can't link libpng

I am trying to build ImageMagick 6.8.0-5 on OSX Lion with support for libpng. I am just using the standard ./configure make make install procedure. I succeed in compiling when I do not reference ...
0
votes
1answer
86 views

Adding bleed margins to CSS sprites with ImageMagick

I have a CSS spritesheet with equal-sized sprites. I want to add a 1-pixel margin to each sprite, and extend each sprite's outermost pixel into that margin -- basically a full bleed effect for each ...
0
votes
1answer
19 views

JPGs created with Imagemagick won't display on TV

I am trying to convert a free ebook from PNG to JPG, so I can read it on my Sony Bravia KDL-40R470. This is how I converted the PNG file: convert -density 117 -quality 80 progit.pdf progit.jpg ...
1
vote
2answers
5k views

Imagemagick convert returns “no decode delegate for this image format”

I am trying to use this command for ImageMagick: convert "c:\users\****\My Documents\test.png" -transparent white test2.png However, I keep on getting two errors that look like this: ...
0
votes
0answers
16 views

How to identify black and white images in folder of images

I would like to identify the black and white images in a folder containing 300,000 images which are a variety of colours. An alternative method would be to identify the colour images and treat the ...
1
vote
1answer
25 views

Can ImageMagick number output files with two digits?

I use the following command to extract pages from PDF files into independent JPG files before inserting them into videos: convert.exe -density 96 -resize 640x480 input.pdf +adjoin -alpha remove ...
1
vote
1answer
50 views

exiftool width and height of resized images not match the new sizes

$ convert original.jpg -resize 50% test.jpg $ exiftool test.jpg ... Exif Image Width : 1200 Exif Image Height : 1600 Image Width : 600 Image Height ...
0
votes
1answer
28 views

-bash: rsvg: command not found

I installed ImageMagick brew install imagemagick --with-librsvg And installation went fine, however when I try to run imagemagick in console I see: -bash: imagemagick: command not found How can ...
0
votes
0answers
34 views

Create clean PDF files?

I have multiple PDF files that could contain malware, so I want to create clean PDF files using utilities available on Linux. My idea is to convert the PDF files to images, then convert the images ...
3
votes
2answers
313 views

Use GIMP color curve with ImageMagick

I created a color curve with GIMP. It looks like this: ~/.gimp2.8/curves/selphy (Just the first lines) # GIMP curves tool settings (time 0) (channel value) (curve (curve-type smooth) ...
0
votes
0answers
79 views

How to install Imagick on a Centos 6.5 server with DirectAdmin 1.45?

Could someone help us with installing ImageMagick on a Centos 6.5 server? We use DirectAdmin as our control panel with PHP 5.4. We've searched on Google, but most posts with instructions are outdated. ...
1
vote
1answer
154 views

Best settings to convert massive pdf hiking maps to images using ghostscript/imagemagick

I did convert all of the Te Araroa Hiking Maps from PDFs to JPEGs so far. The original maps are 16-64MB PDFs, which take forever to load on my Android Phone. I converted them using Ghostscript and ...
2
votes
1answer
147 views

When trying to start Apache - Cant load “Magick.dll” for module Image::Magick?

I have ActiveState Perl 5.10 installed on Windows 2008 machine. I installed ImageMagick-6.8.7-9 Q16 (32-bit) installed. Instead of using ppm to install PerlMagick I built it myself using dmake and gcc ...
0
votes
1answer
38 views

Installing xorg-x11-devel package in SLES 11 SP2

I am using Imagemagick(6.4.3.6-7.18.x86_64) in SLES11 SP2 Using it like bellow.. import -window $wid $jpg and getting this error import: DelegateLibrarySupportNotBuiltIn `' (X11) @ ...
5
votes
3answers
2k views

ImageMagick Convert: How to produce sharp resized PNG files from SVG files?

I am using this command to generate a sharp 512px wide version of an SVG file that I have: convert -geometry 256 pinterest.svg pinterest.png This is the source file: <?xml version="1.0" ...
4
votes
2answers
3k views

Can ImageMagick make thumbnails from video?

I'm trying to extract thumbnails from video via ImageMagick. I found some samples from their official site, but it makes GIF, not PNG. I want a solid thumbnail though. Can it create the same output ...
0
votes
0answers
78 views

issue with install ImageMagick on centos6.5/php5.4 — Unable to load dynamic liberary

I want to install imagick on centos6.5/php5.4 I did all step of this tutorial: https://www.vultr.com/docs/install-imagemagick-on-centos-6 But finaly aftet suscess install I get error with this ...
2
votes
1answer
45 views

Unpaper only processing first page?

I'm trying to use unpaper to process some PDFs that I have. But unpaper only seems to process the first page everytime. I'm using Mac OS X Yosemite. Here's my process: I scan in the document in PD ...
0
votes
0answers
28 views

Import Image from X11 Screen dosent work in linux

A long story in short, trying to automate an ISO setup/installation process In server(SLES11 SP2) running the installation scripts and virtualbox also installed in the same server. using rdesktop to ...
1
vote
1answer
113 views

Can't get ImageMagick -fft to execute in Command Prompt

I downloaded ImageMagick (Windows 7 64-bit) and FFTW, and I can do simple commands but I can't use the -fft option. Commands are from the ImageMagickv6 examples. None of the examples with -fft work. ...
1
vote
1answer
40 views

How to change a program path/alias?

I'm not sure how it works on Linux, but you can type in program names such as ls, man, etc., in any directory and the programs are executed. I uninstalled an old version of ImageMagick and built the ...
1
vote
2answers
117 views

Convert PNG to Multi-page PDF

I've seen a lot of posts about how to convert a multi-page PDF to PNG but I'm wondering how I can go in the opposite direction if I have the size of each page I want made.
1
vote
1answer
9 views

ImageMagick `display` on MS Windows

Is there a way to use ImageMagick's display command-line tool on MS Windows? As far as I know, it requires an X Window System, which MS Windows does not have. Yet, the MS Windows binary come with ...
1
vote
2answers
43 views

Get image details ImageMagick

How to I get details of images from all folders and sub folders with ImageMagick in this format. file-name file-location file-format size width height PS - I have read this page ...
5
votes
2answers
2k 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 ...
0
votes
1answer
332 views

imagemagick convert tiff degrades quality, how to prevent it?

I am using imagemagick convert to extract multiple tif images from a single tif file. But when I use the following command convert image.tif single%d.tif I get very low quality (sort of blurred) ...
0
votes
1answer
19 views

Iterate over files, ignoring filenames with a hyphen

Background Converting images from RGB to grayscale. A number of files exist in different directories. For example: outline/trigon.png outline/oval-bw.png outline/crescent-bw.png ...
21
votes
3answers
5k 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 ...
1
vote
2answers
31 views

Generate thumbnail with Imagemagick

I need to generate thumbnail for all images in a folder like this ( example ) Original image: What I want: I have tried this command mogrify *.jpg -gravity center -thumbnail 350x200 *.jpg ...
2
votes
1answer
303 views

ImageMagick: wrong size when converting PDF to JPG

I want to apply some improvements (change brightness, contrast, etc) to a pdf, to make it more readable, so I chose ImageMagick and pdftk. I used the following command to split the pdf into several ...
8
votes
3answers
9k 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
0answers
49 views

how to manage images in emacs org mode

I am considering switching from zim wiki to org mode for managing collection of web page pieces. Typically it includes images and texts I copied from a web browser. The question: 1 how to insert ...
0
votes
3answers
195 views

Command options in bash script mixed up for file names

I developed this simple bash script: #!/bin/bash for img in `find ./to_upload -iname "*.jpg" -type f` do mogrify ‑resize 1024 ‑sample 70 ${img} done When I run it, the script return: ... ...
15
votes
8answers
14k views

I have compiled ImageMagick on my CentOS, and RMagick won't install

I installed ImageMagick through, (Using ImageMagick 6.7.3-7) ./configure --prefix=/usr && make && make install When I try to gem install imagemagick I get Building native ...
-2
votes
1answer
165 views

How can I shrink the dimensions of an image file without losing any information? I use linux operating system

I would like to resize an image (say png format) using convert. The tricky thing is that I want to retain the quality of the image when I resize the image back to the original dimensions. For ...
5
votes
3answers
6k views

How do I change the canvas size of a PNG with ImageMagick (GraphicsMagick)? (How to pad with transparency?)

Alternatively: How do I take a non-square PNG and "fill out" the "rest" of the image with transparency so that the resulting square image has the original image centered in the square? ULTIMATELY, ...
-2
votes
4answers
378 views

ImageMagick is truncating (squaring) my icons on resize

Trying to resize from 48x48 icon to 16x16 and the resulting file from imagemagick is 16x16 but cut off around the square. Command: convert -resize "16x16" businessman_add.ico -depth 8 mynew.ico ...