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
0answers
236 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
183 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
876 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
230 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
344 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 ...
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: ...
5
votes
1answer
2k 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
475 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
142 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
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 ...
2
votes
2answers
369 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
149 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
121 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
429 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
321 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 ...
2
votes
1answer
568 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
147 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
832 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
649 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 ...
14
votes
3answers
15k 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
267 views

have imagemagick not use up CPU?

I am on windows (7) and i'd like to have imagemagick make a thumb. I'm using append so it isnt doing one file at a time but many. I figured out how to limit the memory usage (-limit area). I don't ...
0
votes
1answer
189 views

Plain mathematical definition for Imagemagick's -color-matrix operation

How does -color-matrix work and what does "similar to Adobe Flash" mean? I'm looking for a plain mathematical definition. How are the input vector(s), matrix and output vector composed? How is the ...
4
votes
1answer
781 views

Thumbnail generation with imagemagick doesn't render the correct colors

Generating thumbnails of PDFs with imagemagick sometimes renders incorrect colors. We're using an old version of imagemagick (6.5.7-8, that's the version installed on the heroku servers). Here is the ...
5
votes
2answers
4k 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 ...
2
votes
3answers
2k views

How to insert white space with imagemagick?

What parameters does "convert" (?) need to get this OUTPUT from this INPUT? INPUT: OUTPUT:
0
votes
1answer
232 views

Make imagemagick's `display` exit at terminal, preserving the window (single instance mode)

When I use imagemagick's display from command line, say: $ display -density 150 test1.pdf ... then display locks in the command line, until you exit the window (or press CTRL+C in terminal). ...
8
votes
2answers
6k 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 ...
2
votes
2answers
816 views

Can I use ImageMagick to remove the password from a PDF?

If I have a PDF and I have its password, I can merely send it to a PDF printer to get a new PDF with the same contents and no password. The process is not exactly painless though (Ubuntu's inbuilt PDF ...
4
votes
3answers
5k 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, ...
0
votes
2answers
1k views

Undefined symbols for architecture x86_64: Mac OSX when installing ImageMagick

I am trying to install imagemagick and on my snow leopard MacOSX with homebrew. when i run: sudo brew install imagemagick it breaks at this point with the following error log. ld: warning: ...
1
vote
1answer
467 views

Import (ImageMagick) does not capture overlays

I've been using import from Imagemagick to take screenshot of my second monitor every 15 seconds, and then later assembled the images using mencoder - thus creating a timelapse of what has been going ...
0
votes
3answers
3k views

How to batch-convert JPG files to uncompressed TIFF

I need to collect 1000 uncompressed TIFF files. I have a large set of JPG images, so I decided to convert them to TIFF format. The loss in quality is ok in this case for me. I used the following ...
0
votes
0answers
134 views

PhotoViewer.dll for Windows XP

I know it comes with Windows 7, but is there an equivalent standalone module for XP's "Picture and Fax Viewer"?
0
votes
1answer
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?
1
vote
2answers
1k views

lossless PNG to video in Imagemagick

As an intermediate step in creating an animation, I need to put a bunch of sequential PNGs into a movie file. I tried ffmpeg but was getting compression and artifacting even when I set quality to ...
1
vote
0answers
297 views

can I remove imagemagick by deleting directories?

I posted this to StackOverflow, but probably belongs here. I'm on OSX Lion, trying to get back to basics so I can run RMagick in Rails 3.0, using rvm. When I tried to add the RMagick gem to Rails ...
0
votes
1answer
131 views

Batch Image Labelling

I have an image I would like to make 50-100 copies of, but for each copy a label is added in the form of a number corresponding to the copy number. Is there existing software that does this? Is there ...
0
votes
1answer
915 views

ImageMagick refuses to render solid colored rectangle. Why?

I found this example in the imagemagik website: convert -size 100x100 canvas:khaki canvas_khaki.gif which should generate a 100x100 khaki square in the given filename. I didn't manage to run this ...
3
votes
2answers
1k views

PDF => raster, is it possible to adapt the sampling resolution to the input page size?

I am using convert (Imagemagick component, delegating to Ghostscript in background) to transform the first page of PDF files to images. Usually, convert -density 200 file.pdf[0] first_page.png will ...
2
votes
1answer
4k views

Convert ppt to jpg

I am using an Ubuntu system. I want to convert ppt or pptx to jpg using terminal commands. I have libreOffice and ImageMagick installed in my system. I am successfully converting pdf to jpgs using ...
2
votes
1answer
615 views

Keep alpha transparency in indexed PNG from Fireworks when batch resizing using convert (ImageMagick)

I have a special case where I'm using alpha transparency in indexed PNGs from Fireworks to keep the file size of PNG's in an iOS game down. (That is, indexed colors like an 8bit PNG but alpha ...
9
votes
4answers
3k views

How can I tell if my image is CMYK from Linux command line?

I'm converting images from RGB to CMYK. How can I tell if my image is CMYK from the Linux command line?
1
vote
2answers
460 views

Any way to make two images the same size and/or aspect ratio in ImageMagick?

Suppose I want to have two images side by side in a slide but they are different sizes. I know I can use "mogrify" and "convert" and all that to resize them, but it's a pain to type in the exact ...
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
3answers
2k views

Taking a proper screen shot with GNOME-Shell non-disruptively

Running Fedora 15 (moving to 16 soon) - 2.6.40.6-0.fc15.x86_64 I would like to take a screen shot every few seconds - something like: $ while true; do import -w root png:$(date +%F_%R:%S).png; sleep ...
2
votes
2answers
3k views

JPG files are too small when converted from PDF with imagemagick

I'm on Ubuntu 10.04 with imagemagick. I used this command: convert myfile.pdf -density 300 file.jpg This works well, but the JPGs are only about an inch high. How can I preserve the paper size in ...
0
votes
2answers
264 views

Image to PDF quality

I am converting multiple jpg images to a single PDF using following command convert *.jpg mybook.pdf but the pdf quality is not good. Is there a way to retain the original quality of images in ...
1
vote
0answers
509 views

Installing an OTF Font under Ubuntu Server

I have an OTF Font I want to use with ImageMagick. Last time I had to install it on other machines, I copied it into /usr/share/fonts and ran fc-cache, then, convert -list font | grep "myfont" found ...
1
vote
1answer
494 views

Limiting threads of ImageMagick - not getting limited

I'm on a virtual machine, and according to this document in the "Cache Storage and Resource Requirements section", if you're on a VPS you should probably limit the threads to two. I am. But before ...