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

learn more… | top users | synonyms

15
votes
4answers
45k views

14.04 doesnt have package imagemagick

Usually I had installed Image Magick on my Ubuntu systems with a command like this sudo apt-get install imagemagick or like this: sudo apt-get install php5-imagick Right now I am running the ...
1
vote
1answer
33 views

Resizing pictures

Currently running Ubuntu 15.04. I am trying to resize a set of photos which original size of each is 3906*2602. Whether I try with darktable or mogrify specifying 1920*1080 I end up with 1621*1080. ...
1
vote
1answer
28 views

I would like to batch re-size images in a terminal

I've got like 500 images to resize, I'm not going to do that in gimp...a terminal solution would suit me best. On ubuntu 14.04. I've read this question on stackoverflow (first posted the question ...
0
votes
0answers
24 views

no decode delegate for this image format `JPEG @ error/constitute.c/ReadImage/501._100x100.png

I want to compare uploaded image from database and for that purpose i am using hash comparison and Imagemagick in my code i resize image and convert the type of image to png but when i create the ...
8
votes
2answers
118 views

ImageMagick convert and low RAM

Please consider the following command for the imagemagick package: sudo convert -resize 460x200 /path/to/test1.jpg /path/to/test2.jpg Now test1.jpg is a fairly large image (12.5MB), but not unheard ...
10
votes
13answers
16k 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, ...
3
votes
3answers
934 views

Convert emf to PNG image using command line

Is there any command line tool available to convert emf to png images? I tried the convert utility from ImageMagick, but it says decoder for emf not found
12
votes
6answers
8k views

convert images to pdf

I have saved multiple images from google books. I wanted to convert them to a single pdf file, where in I need some inputs. The below two images(one png and one jpeg) are two continuous pages. first ...
1
vote
1answer
38 views

Update ImageMagick Ubuntu

I would like to update my version of ImageMagick. I originally installed ImageMagick with... sudo apt-get imagemagick Current Version: myapp$ convert -version Version: ImageMagick 6.7.7-10 ...
0
votes
1answer
32 views

batch “convert” into jpg with nice alpha flatten

I would like to batch resize and convert to jpg a few png files. But some pixels are transparent, and some are half transparent; I would like the transparent ones to be white, and the half-transparent ...
0
votes
0answers
37 views

MiniMagick::Error ImageMagick/GraphicsMagick is not installed

When I SSH into my instance and run convert -version or mogrify -version it recognizes ImageMagick but when I try to upload an image, I am receiving an error. conver -version convert -version ...
0
votes
1answer
35 views

concatenate two images one at bottom of other

Using convert command line, we can concatenate img1.png with img2.png: convert img1.png img2.png +append full_img.png However, the command above adds img2.png to the right of img1.png. How to ...
1
vote
1answer
39 views

Scale down image such that it fills a square of 100x100

I want to create thumbnails for all images of a folder. I also want the images to fit in a square of 100x100 pixels. So after scaling the images down, while the smaller side needs to be 100 pixels, ...
3
votes
2answers
1k 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 ...
7
votes
2answers
3k 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
3answers
330 views

Why do PDF documents open with ImageMagick?

Query shows evince is my default handler. But, double clicking a pdf file opens ImageMagick. A pdf file's Properties shows ImageMagick as the default handler. Why is this happening ? After ...
1
vote
2answers
215 views

Kubuntu 15.10 operations get slow or hang until logout

After upgrading to Kubuntu 15.10 from 14.04, I've found that some programs get much slower or completely hang over the course of a few hours of use. (Even though I have 32 GB RAM, an SSD, and a fast ...
0
votes
2answers
86 views

Extremely slow display of JPEGs and other images in 15.10

[This question has been marked as a duplicate (relating to graphics drivers) but it is not. I have traced the problem to VMware Workstation 12 running on the system. The problem is triggered by ...
1
vote
2answers
363 views

Problem with accents when using ImageMagick or Ghostscript to convert PDF to Image

I am having a problem when converting PDF to Images using ImageMagick or Ghostscript. All accented characters disappear from the converted image. I found a couple of people having the same problem and ...
0
votes
0answers
16 views

confused with Image size between Imagemagik and Inkscape

I'm going to resize pictures, when I use Imagemagik and get information about picture through this command: "identify myfile.jpg" it shows it's size is 1648x2312 but when I import that picture to ...
1
vote
1answer
38 views

How can I create an animated GIF in Ubuntu using a set of images?

I have a set of about 500 JPEG images. The collective size of the set is about 60 MB and each image has the dimensions 480 x 270. I want to convert these images to an animated GIF. I have attempted ...
1
vote
0answers
32 views

How can I prevent `convert` from causing my system to grind to a halt?

When I run ImageMagick to create an animated GIF from a large number of images, it uses resources such that my i7 system becomes unusable. Within seconds of starting, everything freezes and, ...
0
votes
2answers
204 views

convert animated gifs to sprite sheets

I have a shell scripting request, I haven’t spent much time figuring it out myself yet, but I want to try and convert animated gifs into sprite sheets for use in SDL game development. I know how to ...
7
votes
5answers
36k 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' @ ...
0
votes
1answer
38 views

ImageMagick works as root, but not with PHP

I am brand-spanking-new at Ubuntu. I have my first webserver at Digital Ocean, build with Serverpilot. I just installed ImageMagick and it works when I SSH into the machine. However, when I try to ...
1
vote
1answer
86 views

Calibre cannot load ImageMagick since upgrade to Vivid Vervet

I just upgraded to Ubuntu 15.04 and now Calibre won't work. File "/usr/lib/calibre/calibre/utils/magick/__init__.py", line 15, in <module> raise RuntimeError('Failed to load ImageMagick: ...
0
votes
2answers
797 views

can't install cpan module Image::Magick

This question still has no solution (scroll down to "EDIT 5" to see the actual status) I am trying to install Image::Magick on my headless Ubuntu server Ubuntu 14.04.2 LTS # cpan install ...
18
votes
1answer
19k views

How to crop borders/white spaces from image?

I have a lot of images which have white borders around them. I would like to crop those borders all at once, preferably from command line. I believe that it can be done with ImageMagick, but I ...
1
vote
2answers
760 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 ...
9
votes
3answers
8k 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 ...
2
votes
4answers
5k 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. ...
5
votes
2answers
2k 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 ...
0
votes
0answers
46 views

How can I prevent ImageMagick's convert from locking up my system?

I have a decent 4-core i7 computer with 8 GB of RAM and 45 GB of free SSD space. When I run ImageMagick's convert program on a PDF, it briskly consumes vast amounts of resources such that the computer ...
1
vote
1answer
426 views

ImageMagick “convert” command cannot use fonts!

convert -size 300x50 xc:none -font Arial -pointsize 20 -gravity center -draw "fill white text 1,1 \"$1\" text 0,0 \"$1\" fill black text -1,-1 \"$1\"" $WATERMARK_FILE Above command results following ...
1
vote
0answers
35 views

Combine multiple images with X and Z coords

I'm working on terrain for a game, and the output I chose in the terrain generation software is 256 1024x1024 tiles that I need to combine into one big .png. I've tried running some image stitching ...
13
votes
3answers
4k 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 ...
3
votes
2answers
189 views

Unable to restore Envince as default pdf viewer

I don't know why, but somehow "ImageMagick" gained the status of being my default PDF viewing application (I didn't set it manually, maybe it came with the installation of iscan or plex). Now, when I ...
2
votes
2answers
7k views

Having problems installing ImageMagick on Ubuntu 14.04

Trying to install imagemagick since 1.5 hrs but with no luck. sudo apt-get install imagemagick php5-imagick But nothing is happening. I tried to cross check with if (!extension_loaded('imagick')) ...
0
votes
4answers
630 views

Where to find Magick++ API?

I'm on Ubuntu 14.04, which has ImageMagick 6.7.7-10 installed by default. I need to use Magick++, a C++ API for ImageMagick, in a C++ project, but I have no idea where it's located. How can I tell if ...
2
votes
1answer
168 views

Feeding avconv one image after another

I have recently taken a bunch of images to create a time-lapse video and using avconv and this was surprisingly easy (after looking up the right command). But now I want to send each image through ...
13
votes
2answers
909 views

ImageMagick suddenly installed

I was taking a look at my installed programs, when I saw a program called ImageMagick, I took a look at it in the Ubuntu Software Center, and it's a program to manipulate images. That's OK, but I ...
0
votes
1answer
346 views

Resizing with imagemagick error message

I am experiencing one particular problem using imagemagick: Everytime I try to resize a certain .png or .jpg by typing the simplest command convert bbb.png -resize 200×200! bbb.png I get this: ...
0
votes
2answers
400 views

How can I use convert to resize images to a specific width keeping the ratio for the height? [duplicate]

I have a file with the full path to an image on each line, all are jpg. I want to resize every image/line in the file to 1024px in width, while keeping the aspect ratio for the height. I simply want ...
1
vote
1answer
2k 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 ...
0
votes
0answers
67 views

Add Pango to php5-imagick

I've already installed php5-imagick and want to add Pango to manage some texts on images by php. http://www.imagemagick.org/Usage/text/#pango For using of pango , I don't want to use CLI of ...
2
votes
2answers
1k views

Merging multiple images into one document and add any caption/label to them

I have multiple jpg and png images. I would like to combine them within one document (ODT/PDF/RTF). It can be easily done by means of following command: convert *.png allTogether.pdf However, there ...
0
votes
2answers
1k views

How to fix problematic Ubuntu ppa configuration?

When I do sudo apt-get update I get following errors: Err http://archive.ubuntu.com raring/main amd64 Packages 404 Not Found [IP: 91.189.91.23 ...
0
votes
0answers
122 views

Have multiple versions of ImageMagick installed. How do I choose the latest version?

Using 14.04 I have multiple versions of ImageMagick installed. Version 6.7.7 was installed by a chef script with that set up our sever, I believe w/ 'package "imagemagick"' Version 6.9.1 was ...
0
votes
1answer
280 views

Batch processing folders with `find` and imagemagick's `montage`

So I've been working at this for a while and I think I'm ready to give up. I trying to process sub-folders with imagemagick's montage to create contact sheets. This is basically as close as I've ...
2
votes
3answers
7k 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. ...