ImageMagick is an open source software suite for displaying, converting, and editing raster image files.

learn more… | top users | synonyms

12
votes
1answer
2k views

Does “diff” exist for images?

You can compare two text files very easy with diff and even better with meld: If you use diff for images, you get an example like this: $ diff zivi-besch.tif zivildienst.tif Binary files ...
9
votes
9answers
8k views

Is there a better way to redact a PDF?

I had to print a couple of PDFs recently to send to someone, but I wanted to redact (black out) a couple small bits of text. A quick google search didn't turn up any tools for this specific purpose, ...
8
votes
5answers
2k views

How can I convert a folder of .pngs to .jpgs while setting the background color?

I have a folder of png files that have transparent backgrounds. I would like to convert them from the command line and maintain the images' transparent backgrounds. I'd appreciate any help. Since ...
7
votes
3answers
6k views

RMagick install problem

I can't install RMagick because of the following dependency problem after trying sudo apt-get install libmagick9-dev (required according to this) on Ubuntu 10.0.4: Note, selecting libmagickwand-dev ...
7
votes
2answers
1k views

ImageMagick convert can't convert to webp

On Ubuntu 12.04 ImageMagick doesn't seem to support webp. convert flyer.png flyer.webp creates an png file with webp extension. On https://developers.google.com/speed/webp/docs/using is stated that ...
5
votes
2answers
3k views

Resize images to specific height value in ImageMagick?

I've looked around for this, and can't find an easily implemented solution. Currently I'm working on an application that deals with panoramas. As they come out of the batch stitch process, the ...
5
votes
4answers
12k views

How to add support for the JPEG image format

After installing Imagemagick, I've tested it with jpg image, like this: identify 1.jpg But, I got this result: identify: no decode delegate for this image format `1.jpg' @ ...
5
votes
1answer
590 views

Nautilus Image Converter: strip EXIF metadata

I just found out that images can have more than 20KB of EXIF data. Not really an issue with 2MB files, but if you have small thumbnails this really adds up. I use mogrify often to resize, and I can ...
4
votes
1answer
2k views

How to crop borders/white spaces from image? [duplicate]

I have a lot of images which have white borders around it. I would like to crop those borders in one batch, preferably from command line. I believe that it can be done with ImageMagick, but I couldn't ...
4
votes
1answer
472 views

How can I batch convert images to b/w while preserving the folder structure

I want to batch process images but I have a very specific task that I want to do I do not want to change image type I want to make them black and white I want it to create/preserve images and sub ...
3
votes
1answer
2k views

How can I install the latest upstream version of ImageMagick without compiling?

I had some issues with ImageMagick and I was told Ubuntu's default ImageMagick package is an ancient version and I should upgrade to resolve my issues. How can I do that? I have the latest Ubuntu ...
3
votes
2answers
1k views

Is there a GUI to convert/extract images to/from pdf?

I mean something like a graphical interface / front end for Imagemagick or a simpler application that would allow converting/extracting images through the interface (not in the Terminal).
3
votes
1answer
2k views

Resize large images with mogrify (ImageMagick) but leave small images unaffected

Images can be resized using mogrify from the ImageMagick suite: `mogrify -resize 256x256 *.jpg` But this will resize images so that the largest dimension is 256px, including images that are smaller ...
2
votes
1answer
2k views

how can I resize an animated GIF file using ImageMagick?

I want to resize such an animated GIF file do.gif If I do convert do.gif -resize 24x24\! do-24.gif I get it resized in do-24.gif but not animated How to resize it right way to get the same ...
2
votes
4answers
3k views

How can you animate a gif that goes back-and-forth instead of repeating?

I'm animating a gif with Imagemagick, I'm doing animate *.JPG, and that repeats the animation. But I would like it to go do "pic1, pic2, pic3, pic2, pic1" and repeat, so that it goes back and forth. ...
2
votes
1answer
677 views

How to detect image dimensions and run commands on them?

I have a directory full of images, some of which are portrait-sized instead of landscape-sized, and I want to open the portrait-sized ones with an image editor. I can run the imagemagick command ...
2
votes
2answers
519 views

How do I combine single page tif files into a multi-page tif?

I have a series of single-page .tif files and would like to transform them into a multipage .tif. How do I do that? Ubuntu 12.10
2
votes
1answer
240 views

Can't install any new packages with apt-get

From some time I've been getting error messages while installing some packages, for example: requires libmagickwand4 (= 8:6.6.9.7-5ubuntu3) ale 8:6.6.9.7-5ubuntu3.2 is about to be installed ...
2
votes
1answer
211 views

Thunderbird suddenly opens PDF attachments with ImageMagick

I am running Ubuntu 12.04 and use Thunderbird as my email client. People send me PDF-files all the time, and clicking on them used to open them in acroread. Since a few days, if I click on an ...
1
vote
3answers
2k views

How to crop a multi-page (image/scanned) pdf file (which won't crop with pdfcrop)?

Usually, I'm pretty happy using pdfcrop, even though the cropped output usually consumes significantly more disk space. Note that comparable code does exist, which addresses and resolves this issue. ...
1
vote
3answers
273 views

How to check which version of library is used and how to change?

I have Ubuntu 12.10 installed, with ImageMagick and libjpeg6 and libjpeg8 libraries installed. I am now wondering if there is a way to determine, which version is used, and to change it.
1
vote
1answer
348 views

tool to scan similar images

What tools might be available in Ubuntu to scan many image files and detect similar ones despite different sizes, formats, etc? Support for batch mode/cli would be especially good. For example, so I ...
1
vote
1answer
315 views

Convert transparent image sequence to gif

I want to convert an image sequence into a gif animation, and i'm using this: convert -delay 100 -loop 0 image*.jpg animation.gif The problem is that for transparent images i can see other images ...
1
vote
1answer
41 views

How can I correct for a slow scanning document feeder?

We've got a HP all-in-one OfficeJet and I find that the document feeder on it is a bit slow, so all the scans come out a bit stretched. Everything we feed into this is A4 which should have an aspect ...
1
vote
1answer
18 views

Installing imagemagick on user account

The version of ImageMagick on the machine I am using is too old for the operation I am trying to execute. I do not have admin privileges and the sysadmin will not upgrade ImageMagick. How do I ...
1
vote
1answer
149 views

imagick php5 addon on ubuntu 64bit isn't working

I have a lampp webserver and i need to edit animated gif files. I have tried to install imagick with this tutorial. But at the "make" commad i get the error can't read ...
1
vote
1answer
535 views

error when installing rmagic gem on Ubuntu 12.04 for Ruby on Rails

I am trying to get my Ruby on Rails application working and installing RMagic gem. But I get an error that says "Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the ...
1
vote
1answer
125 views

Why my computer fails when converting many images in Imagemagick with one command?

After updating to Precise had a few times the following mishap: when I try to convert to pdf many (100, 200) jpegs or pngs, my system gets completely stuck and need hard reboot. Or, more fortunately, ...
1
vote
1answer
3k views

How to add Fade-out and Fade-in Effects by convert command?

convert command can make the mpeg video from the several pictures. For example: convert -delay 300 *.png test.mpg Well, is it possible to add Fade-out and Fade-in effects into the mpeg video by ...
1
vote
1answer
176 views

How can I give a program writing access to a directory?

There's a program called imagemagick that can edit images. It can save files to my home folder with out issues. It won't save images to a folder /var/www/thumb_nails/ edit: it does work if I ...
1
vote
1answer
890 views

imagemagick convert command

i have question regarding the convert and linux command in generate. i need to convert images using imagemagick i do: convert -quiet -regard-warnings image.jpg -colorspace RGB +repage ...
1
vote
2answers
759 views

Terminal transparency (urxvt) , Imagemagick, and X11 root window problem

I use Ubuntu Natty, urxvt (with 256 colours), and Imagemagick (display -window root [...]) to set the root window to a picture. When I use the transparancy (-tr) option on urxvt, I get the Ubuntu X ...
1
vote
1answer
299 views

How can I make lcms available to imageinfo (via imagemagick)?

When I try to run: imageinfo --iccname test.jpg I get the following error: imageinfo: installed imagemagick does not support lcms Even though ImageMagick (6.6.2-6) is set-up to use lcms: ...
1
vote
0answers
93 views

Integrate ImageMagick & MagickWand with php ubuntu 12.04

I have installed both ImageMagick and MagickWand in my ubuntu system by refering to the detailed instructions provided in Install ImageMagick From Source and MagickWand For PHP. When I chack whether ...
1
vote
0answers
33 views

Why won't `import` correctly capture the inside of a window rendered in OpenGL, while `scrot` will?

I have been experimenting with OpenGL recently, and I decided to take a screenshot of one of my fancy triangles with import, which is part of imagemagick. However, on two different computers, one ...
1
vote
0answers
71 views

Tile transparent images with graphicsmagic

i'm glueing together PNG images with graphicsmagick with this command: gm montage -geometry 450x338+0+0 $cesta$i/$j/*.png $cesta$i/$j.png It works but no alpha is present, i tried to change ...
1
vote
1answer
652 views

Image Magic Make Fails - PHP extension

So I was doing the following: sudo apt-get install php-pear php5-dev sudo apt-get install imagemagick libmagickwand-dev sudo pecl install imagick It all works till I get the error: make: *** ...
1
vote
0answers
155 views

Library for rmagick install problem

I can't install Library for RMagick because of the following dependency problem igor@TIV-M:~$ uname -a Linux TIV-M 3.0.0-17-generic-pae #30-Ubuntu SMP Thu Mar 8 17:53:35 UTC 2012 i686 i686 i386 ...
1
vote
1answer
305 views

blurry images with mogrify & convert

Does anyone know why this image is so blurry? I did a convert from pdf to png and it turned out like that. Before deleting imagemagick and it's entire toolset from software-center most of my image ...
0
votes
1answer
55 views

How can I resize 300 image at the same time? [duplicate]

I have a folder, which include ~300 images. I want to resize it to 800px wide in another folder. How can I do that? I have tried some ImageMagick command.
0
votes
1answer
355 views

How to resize images in 13.10 with context menu?

I want to resize image with the context menu (or similar easy way) in Ubuntu 13.10. I read about nautilus-image-converter and installed it. But it does not show up, even after system restart. How to ...
0
votes
1answer
265 views

Installing ImageMagick for C(++) on Ubuntu 12.10

I'm having a hard time installing the ImageMagick software for Ubuntu 12.10. So, I want the C and C++ API, not much more. Now when I go to imagemagick.org, they have a binary package for unix, ...
0
votes
1answer
765 views

How to install imagemagick extension for PHP5 on Xubuntu 12.04.1 LTS

How to properly install imagemagick extension for PHP5 on Xubuntu 12.04.1 LTS? convert --version Version: ImageMagick 6.6.9-7 2012-08-17 Q16 sudo pecl install imagick ... checking if ImageMagick ...
0
votes
1answer
4k views

convert .doc files to .pdf file using imagemagick

I want to convert .DOC files into .PDF format using php image library imagemagick . When I used convert filename.doc filename.pdf command in terminal to convert file to .PDF format I got the error ...
0
votes
1answer
88 views

Color-leveling an image via command-line

From a script, I'm trying to apply some color levels to a grayscale .tiff image (the same as I would do in Gimp). I've tried using ImageMagick's convert tool: convert input.tiff -level 102,200,0.85 ...
0
votes
0answers
58 views

How to configure scanimage to produce PDFs as small as gscan2pdf's?

I use gscan2pdf every month, mostly to scan bills. I keep each vendor's bills in a separate directory. I could save myself some time if gscan2pdf were to make an educated guess at what directory an ...
0
votes
0answers
41 views

How to display a yuv image on ubuntu

how can I display a yuv image on ubuntu? I have installed "Image Magick" on ubuntu, but when I try it, it said I must specify image size: display ~/Downloads/tulips_yuv422_inter_planar_qcif.yuv ...
0
votes
1answer
36 views

Accessing image module for python in ubuntu

how do i access the ImageOps module for python in ubuntu 12.4. I wanted to use inbuilt image processing functions but m unable to acess those.Can someone tell me that how do i aceess that module.there ...
0
votes
1answer
141 views

Loop terminal command for combining PNG to GIF animation

I am trying to combine some PNG images to make a GIF animation. To do this I have installed ImageMagic and am trying to execute the command: convert -delay 10 -loop 0 inputfiles*.png animaion.gif ...
0
votes
0answers
33 views

Issue scaling with ImageMagic --auto-orient

I am resizing images and painting the background black. When I have a portrait image that as photographed in landscape, the image is scaled and remains in landscape. I want the landscape image to be ...