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

learn more… | top users | synonyms

0
votes
2answers
236 views

Trying to add timestamp to image but keep getting error unknown image property “%[exif:DateTimeOriginal]”

I want to put timestamps on all images in a directory based on the date created/modified. I've seen a bunch of methods like this and this, but they all use the code %[exif:DateTimeOriginal] which ...
3
votes
1answer
46 views

Ubuntu 16.04 Imagemagick convert jpg webp

I was wondering about the following; I use the following command to find .jpg files in (sub)directorys and convert (mogrify) them to .webp files. find . -name '*.jpg' -execdir mogrify -format webp {...
6
votes
2answers
730 views

How to remove ImageMagick without breaking its dependencies?

I want to remove the pre-installed ImageMagick from my Ubuntu 16.04 LTS. Uninstalling it also removes CUPS and other dependent packages which I want to keep on my system. Is there a way to remove ...
1
vote
2answers
9k 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 ...
3
votes
1answer
571 views

ImageMagick PNG delegate install problems

Ubuntu 14.04: I've downloaded the latest imagemagick source and installed, using option below to configure: root@usve59445:~/im/ImageMagick-6.9.3-7# ./configure --enable-shared --with-png=yes ...
0
votes
0answers
21 views

How can i compile ImageMagick with nvcc?

I wrote a small code in cuda along with ImageMagick library support as #include <stdio.h> #include <cuda.h> #include<Magick++.h> #define NUM_BLOCKS 10 #define BLOCK_WIDTH 1 using ...
2
votes
2answers
73 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
342 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 ...
14
votes
4answers
6k 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 ...
1
vote
0answers
13 views

Slideshow of Image Folder whose files increase

I am trying to stream video from my webcam to a series of images, process these images through a bash script that uses convert (imagemagick) and then output them to a folder. I have been successful ...
0
votes
2answers
2k views

How install GraphicsMagick with quantum 16

How can I configure GraphicsMagick to use --with-quantum-depth=16 before installing it with apt-get? Is it possible to do or should I build it from source?
1
vote
1answer
113 views

Why are the images produced by pdfimages different when using the -all flag?

It's my understanding that pdfimages -all extracts images from PDFs in their native formats. Therefore, I expected that the JPG (lossy) images extracted from that command would have the same pixel ...
2
votes
3answers
14k 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')) ...
6
votes
1answer
2k views

how to install imagemagick for php7 on ubuntu 16.04?

well, just after upgrading my Ubuntu and therefore moving to php7, I seem not to be able to install imagick extension for php using the same old command sudo apt-get install php5-imagick I get this ...
1
vote
1answer
44 views

Auto Photo Crop

I want to crop photo black background with command line This command didn't help: convert input.png -trim output.png My image
1
vote
1answer
75 views

imagemagick crop images to specific aspect ratio?

Given an image, how do I use imagemagick to resize it to a specific aspect ratio? for example, to an aspect ratio of 2:1
0
votes
0answers
61 views

Relation of CUPS printer driver to Imagemagick?

Why does installing CUPS automatically install imagemagick ? On this 16.04 64-bit platform there does not, and never will, exist a need for deliberate imageprocessing. foo2zjs handles file conversion ...
17
votes
2answers
15k 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 ...
2
votes
1answer
209 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 ...
1
vote
1answer
56 views

Mirror photo directories and reduce file size

I backup our family photos to my home Ubuntu 14.04 server, to a Samba directory at /srv/photos. I want to be able to view them by visiting a web page, to browse through them, and have created a php ...
1
vote
2answers
62 views

How to crop white spaces in png images?

I have couple png images,I want to submit them in my paper.Example: Below the image there is a plenty of white space.How to extract just the image content and get rid of white space?I am on Ubuntu 14....
0
votes
0answers
58 views

Thunar custom action ImageMagick mogrify not working

I was trying to add this imageMagick command to Thunar custom actions. Here is the code mogrify -alpha off -fill "rgba(211,47,47)" -colorize 100% -alpha on %f What the command do is recolor a ...
0
votes
1answer
1k views

How to uninstall ImageMagick completely and reinstall it in a right way?

I am trying to uninstall ImageMagick using sudo make uninstall command but it is not working. It's showing this error : No rule to make targetuninstall'. Stop.` How can i uninstall and reinstall ...
11
votes
14answers
18k 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, ...
0
votes
1answer
131 views

Load full screen image on boot and then close it

Is there any way (maybe with ImageMagik or something) to load a full screen image from a shell script and then close it? I have a media PC that loads kodi, mythTV and a few other things. I was hoping ...
17
votes
4answers
62k 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
57 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. ...
2
votes
1answer
66 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
204 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 ...
10
votes
2answers
324 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 ...
5
votes
3answers
1k 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
14
votes
6answers
13k 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 ...
4
votes
1answer
2k 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 2014-...
0
votes
1answer
90 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 ...
1
vote
0answers
224 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
83 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 ...
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
4k 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 ...
3
votes
3answers
772 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
430 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
161 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
703 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
18 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
74 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
51 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
358 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 ...
9
votes
5answers
44k 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' @ error/constitute.c/...
0
votes
1answer
67 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
164 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
1k 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 Image::...