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
2answers
279 views

How to pass a list of files to ImageMagick's montage?

I have a large number of tiles, with the following naming convention: A-x-y.jpg where 0<=x<=16 & 0<=y<=14 Now I know that we can use the Montage tool in ImageMagick, to merge ...
2
votes
1answer
525 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 ...
2
votes
2answers
233 views

Imagick Convert Append 2 pdf pages

I am using the following code to make a single pdf file with multiple pages in one jpg file I am using Imagick library and PHP tcpdf convert -append path1.pdf path2.jpg Now what i need to do is to ...
1
vote
1answer
79 views

get rid of transparency of selected part of png using imagemagic

I have this png image with transparency http://s18.postimg.org/d2h2m4yl5/flatten_canvas2.png I want to get rid of transparency using imagemagick, but only of the selected part and not the whole ...
4
votes
1answer
2k 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 ...
4
votes
2answers
1k 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" ...
0
votes
1answer
563 views

CentOS 6.3: yum install ImageMagick, identify and convert don't work

I ran "yum install ImageMagick" on our CentOS 6.3 server, which worked fine, but identify -version and convert don't work (-bash: /usr/local/bin/identify: No such file or directory). I originally ...
0
votes
1answer
316 views

How can I run mogrify, but prefix the filename?

I have 300k+ jpg files in the same directory. Files are like: /covers 0788862281217.jpg 0788863155104.jpg 7888311516341.jpg 7888370920479.jpg 7888497074277.jpg I need to batch resize saving the ...
0
votes
1answer
87 views

Cutting in half and rearranging pages of tif document

I scanned in a booklet, and now I have a tif file with "pages" composed of two real pages each, in the order 6/7,5/8,4/9,3/10,2/11,1/12. Is there a way (tool, imagemagick command, etc.) to slice each ...
1
vote
2answers
99 views

Averaging subsets of images with imagemagick, iteratively

I have a hundred images and I want to average them 5 at a time. The imagemagick command for the first 5 is: convert -background transparent %d.jpg[1-5] -average output1.jpg The imagemagick ...
2
votes
1answer
597 views

imagemagick image conversion piped in avconv fails

I am trying to write a script that should take all sort of images (format, size...) and create a video with avconv. I've managed to make it work with a series of jpg (all the same size though) and I'm ...
9
votes
1answer
380 views

Tile animated gifs

Is there some way to use imagemagic / montage to tile looped animated gifs (intermixed with nonanimated ones)? That is, I want to concatenate the animations in space, not in time. I realize that the ...
2
votes
1answer
161 views

convert image at command line to console stream

I'm looking for something like ImageMagick's "convert" but that outputs to the console. The obvious answer is "create a temp file and cat that" but I'd prefer not to have to go to the trouble. Are ...
1
vote
1answer
101 views

Converting PDF to images preserving the vectorial quality

I'm using ImageMagick to convert some PDF to files to PNG images, and I'm experiencing some quality problems because the generated image has very low quality. I played with the density, resample, ...
2
votes
2answers
1k views

Getting the predominant colour in an image?

Is it possible to get the predominant colour in an image from the command line? Ideally I'd like it back as hex or RGB. I thought it might be possible to do this with imagemagick's identify command, ...
16
votes
2answers
3k 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 ...
2
votes
1answer
980 views

Unable to execute port when installing ImageMagick

I'm trying to install ImageMagick by using MacPorts. I've successfully installed MacPorts by using their Mountain Lion .pkg file. I open the terminal and run: sudo port install ImageMagick However ...
0
votes
1answer
163 views

Automatically name output of montage based on input files

I have a folder with images separated into channels: IMAGE_A_R.jpg IMAGE_A_G.jpg IMAGE_A_B.jpg IMAGE_A_RGB.jpg IMAGE_A1_R.jpg IMAGE_A1_G.jpg IMAGE_A1_B.jpg IMAGE_A1_RGB.jpg IMAGE_B_R.jpg ...
2
votes
1answer
693 views

Use imagemagic to put several JPG on one page

I have a folder full of jpg files. When I use the following command, convert *.jpg assembly.pdf I get a pdf file with one image per page of the pdf. I would like to put 9 images on each page. Is ...
3
votes
1answer
178 views

transparent gradients with graphicsmagick

I'm trying to create a gradient that goes from transparent to some color. With imageMagick you can do that with (taken from the documentation): convert -size 100x100 gradient:none-firebrick ...
1
vote
1answer
160 views

Imagemagick batch converting memory overload

I must to convert about billion of images from jp2 to jpg... I create such .bat for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") do ( convert -limit memory 0 -limit map 0 "%%~ff" -quality 25 ...
0
votes
1answer
364 views

Batch convert with imagemagick jp2 to jpg

What command i need to run to put in img/ folder with same name on ubuntu jpg file with 35% quality converter from jp2? On windows i run such bat: for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") ...
2
votes
1answer
944 views

generating video slideshow with avconv but maintaining image ratio

This may have already been answered.. but I'm struggling to search for it! I have a set of images, of varying dimensions that I've created a 'fade affect' with, using imagemagicks convert command. ...
0
votes
1answer
513 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 ...
0
votes
1answer
70 views

What is the Ubuntu package for Image Magick Wand Development?

What is the Ubuntu package for Image Magick Wand Development ? Please help. apt-get install ....
3
votes
1answer
598 views

Get crisp, clear thumbnails from MP4 with FFmpeg / ImageMagick

My ultimate goal is to get meaningful snapshots from videos that are either 30 min or 1 hour long. "Meaningful" is a bit ambitious, so I have simplified my requirements. The image should be crisp - ...
1
vote
1answer
670 views

Macports Imagemagick Install for PHP

I'm trying to install Imagick for PHP via Macports and the PECL extension, based on the guide here: sudo port install ImageMagick sudo pecl install imagick I entered the opt/local path and setup ...
0
votes
2answers
371 views

Why am I getting “No such file or directory” after install?

If I command convert --version it shows this. bash: /usr/bin/convert: No such file or directory All what I did was this 1. $ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz 2. $ ...
3
votes
1answer
3k views

How can I remove “ImageMagick” completely?

I think I accidently did install 2 ImageMagicks to my CentOS 5.8 before. Version 6.2.8 was removed by yum erase ImageMagick However, it still shows this when I typed $convert -version Version: ...
0
votes
0answers
218 views

ImageMagick video filter for FFmpeg

I'd like to apply some non-trival video operations on a per-frame base. So far, I've been using shell scripts + ImageMagick + FFmpeg, decomposing the video into individual frames on disk, processing ...
1
vote
1answer
137 views

ImageMagick Append Image sequence Filenames

I am using the animation tool Synfig to export a sequence of .png files. These are in the following format: C1.0000.png , C1.0001.png, C1.0002.png and so on. I want to convert these to a spritesheet ...
0
votes
1answer
668 views

PDF to PNG with ImageMagick/GhostScript: Colorspace=sRGB breaks script

In order to convert a PDF with 100 pages to single PNG files, I've been using the following command: C:\Program files\ImageMagick\convert -density 150 -alpha Opaque file.pdf file.png But that ...
0
votes
1answer
193 views

Can't Start Apache on on Snow Leopard. “libphp5.so requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0”

To cut a long story short, I was trying to compile and get ImageMagick working on my Mac running Snow Leopard. One thing led to another and now I am stuck with the following error message when I try ...
3
votes
1answer
279 views

How do I use cpulimit with ImageMagick?

I am converting (using ImageMagick) a directory of image files (using a bash for loop in shell). I notice that "convert" is taking up a large amount of CPU use (88% and up). However, If I try to ...
0
votes
1answer
1k views

Installing imagick on OS X with MAMP 2.1.1

I sincerely hope someone here can help me before I lose all my hair. I'm developing a php web app requiring imagick extension and want to test it locally. I have os x 10.8.2 (Mountain Lion) and MAMP ...
0
votes
1answer
4k views

Why do I keep getting this Imagemagick error?

I currently used this code for Imagemagick: convert "c:\users\****\My Documents\test.png" -transparent white test2.png However, I keep on getting two errors that look like this: convert.exe: ...
4
votes
1answer
1k views

Convert grayscale image into alpha channel image in unix shell

I have a gray-scale image. I want to convert it into an transparent PNG, such that the black pixels (in the original image) become fully opaque, the white pixels become fully transparent, a 50% grey ...
2
votes
1answer
359 views

How do I convert a .cdr file to .jpg using imagick API?

How do I convert a .cdr file to .jpg using imagick API? I have done conversion of .ai and .psd files, but .cdr file isn't working. What can I do to fix this problem?
0
votes
0answers
135 views

batch split note scans with automatic recognition of parts in page

I regularly use paper to make notes and concepts for most things, work and others. To be quick when having an idea I note them one after another, just to make sure I find things later, I use paper ...
3
votes
1answer
861 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 ...
2
votes
2answers
273 views

How to identify the format of images in a pdf?

I have received a number of pdf files with images in them. The original images have been lost, so I need to extract them. I have Adobe Acrobat Pro, so I extracted them using Advanced > Document ...
-2
votes
1answer
131 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 ...
0
votes
2answers
100 views

Identify specific PNG format

How can I tell, ideally with an Imagemagick identify command, whether a particular PNG is PNG32, PNG24 or PNG8? The %z or %[depth] gives the sample depth (not the pixel depth), which is always 8 or ...
4
votes
2answers
373 views

Automating the choice between JPEG and PNG with a script

Choosing the right format to save your images in is crucial for preserving image quality and reducing artifacts. Different formats follow different compression methods and come with their own set of ...
0
votes
1answer
276 views

Is there a GraphicsMagick equivalent to ImageMagick's image stack?

Although GraphicsMagick is a fork of ImageMagick, there are dissimilarities between the two, namely in the support of image stacking in ImageMagick, but not in GraphicsMagick. Taken from the ...
1
vote
1answer
409 views

Batch convert svg to ico, specifying size?

In Windows, I have a GNOME icon theme in the svg format; several svg files residing within subfolders. Is there a way, on the command line, to convert these to ico files with the same name in the same ...
1
vote
0answers
119 views

Convert SVG that has an Arabic text to png (or any raster)

I have an SVG file which has Arabic texts. When I tried to convert it to a raster format Arabic text became unicode signs. Latin letters are allright. I tried imageMagick and rsvg-convert. Both are ...
1
vote
2answers
654 views

Imagemagick convert making strange gif

I am trying to make a GIF from a set of PNGs (files like f0010.png). convert *0.png out.gif The GIF is coming out strange -- not looking like the PNGs, cutoff, stuff missing, etc. I tried also ...
3
votes
1answer
537 views

Vectorized fonts in PDF output of ImageMagick montage?

I am using ImageMagick (under Linux) to make a 3x3 montage of nine PNGs which I have, and label them. Desired is PDF output with vectorized fonts as the labels. I use this command: montage -label ...
11
votes
3answers
10k 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 ...