Questions tagged [imagemagick]

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

ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200)

The functionality of ImageMagick is typically utilized from the command line.

278 questions
110
votes
4 answers

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 page(png) second page(jpeg) I save them in my…
user301880
  • 1,211
  • 2
  • 9
  • 5
58
votes
4 answers

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 animation?
zuba
  • 2,393
12
votes
3 answers

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 instead of libmagick9-dev Some packages could not…
mahemoff
  • 667
10
votes
2 answers

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
An SO User
  • 433
  • 2
  • 10
  • 20
10
votes
1 answer

Use ImageMagick to compare Images

I want to compare a source png file to a compressed file. I am using imagemagick and this command: convert image1 image2 -compose Difference -composite \ -colorspace gray -format '%[fx:mean*100]' info: But what I get is a very odd number. I…
Levan
  • 10,880
10
votes
6 answers

Problems with compiling ImageMagick with HEIC

I had similar problems to the original poster of How to install delegate libraries for Image Magick 7.0.7 No Delegates after building 7.0.8-37. I installed all the 240 MB odd libraries and the second lot that included libheif-dev. When I tried to…
Iain1940
  • 101
6
votes
3 answers

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 under the animation. Why? For example, with these…
BackSlash
  • 199
5
votes
2 answers

Cannot launch ImageMagick

Cannot launch ImageMagick after upgrading to Ubuntu16.04. After launcded, it appears on the tool bar for a short time, and then disspears. Launching on terminal by entering "display" can run it with no problem. What should I do? Anyone can help?…
4
votes
1 answer

ImageMagick still broken (using with /usr/bin/convert)

Despite trying all the fixes on this board and elsewhere, I STILL get the same break running $ /usr/bin/convert D1.JPG P1.pdf namely: unable to open image `P1.pdf': No such file or directory @ error/blob.c/OpenBlob/2701. convert-im6.q16: missing…
user289334
  • 199
  • 1
  • 1
  • 5
3
votes
1 answer

Why does convert depend on the obsolete libg2c.so.0? How to get it to work again?

When I try to run convert file.bmp file.jpg I get the following error message: convert: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory I tried looking for that library in synaptic, but…
2
votes
2 answers

ImageMagick: identify fails to identify XWD images

My goal is to be able to take a screenshot of all menus, regardless of tooltip or X window grabbing pull down menus, including the sprocket menu in Ubuntu, e.g., like this, and annotate them in another drawing tool such as Shutter: And the way I do…
bgoodr
  • 1,562
  • 3
  • 20
  • 34
2
votes
0 answers

Convert command doesn't work (liblzma.so.0)

My convert command doesn't work. If I run the command: convert -resize 448x448^ srcimg.png dstimg.png I get the following error: convert: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or…
emapesce
  • 121
2
votes
0 answers

Version discrepencies with Imagemagick. How to fix?

It appears my install of the latest imagemagick is successful, but there is a discrepency when I query the version. identify -version shows the older version, and running it as identify calls the older version. Running convert does however call the…
Pipsqweek
  • 121
2
votes
1 answer

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 execute the script I have the command in. It just wont…
Isaac
  • 683
2
votes
1 answer

ImageMagick Crop image keeping original position

Having https://upload.wikimedia.org/wikipedia/en/thumb/1/10/Stratton_Oakmont_logo.svg/1200px-Stratton_Oakmont_logo.svg.png I would like to cut the lion but keep the original image size and lion in place. right now i'm only able to cut the lion and…
FrakyDale
  • 247
  • 1
  • 2
  • 10
1
2