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
273
votes
5 answers

Trouble with batch conversion of .png to .pdf using convert

convert /home/bill/TempScan/*.png myfile.pdf gives error message: convert-im6.q16: not authorized `myfile.pdf' @ error/constitute.c/WriteImage/1037. Any help would be appreciated!
bill-lancaster
  • 2,859
  • 2
  • 7
  • 12
107
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,181
  • 2
  • 8
  • 5
83
votes
5 answers

how to install imagemagick for php7 on ubuntu?

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 error (tried php7-imagick too) Package…
azerafati
  • 1,169
  • 1
  • 10
  • 23
81
votes
1 answer

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 couldn't find suitable command. I know that it can be…
Rafal
  • 1,787
  • 4
  • 20
  • 29
61
votes
7 answers

I'm getting the message: "The following security updates require Ubuntu Pro with 'esm-apps' enabled" when updating Ubuntu 22.04

I use the package texlive-full, which installs imagemagick and other related packages. When I check for updates, I get this message: The following security updates require Ubuntu Pro with 'esm-apps' enabled: imagemagick libopenexr25…
Philippe Gaucher
  • 1,576
  • 2
  • 18
  • 31
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,373
  • 4
  • 33
  • 55
58
votes
2 answers

imagemagick - convert not allowed

I have multiple *.jpeg pictures I like to merge into a single *.pdf file like so: convert Blatt1.jpg Blatt2.jpg Blatt3.jpg Blatt4.jpg out.pdf I am prompted with the following exception: convert: attempt to perform an operation not allowed by the…
n00b.exe
  • 683
  • 1
  • 5
  • 4
45
votes
4 answers

ImageMagick convert can't convert to webp

On Ubuntu 12.04 ImageMagick doesn't seem to support webp. convert flyer.png flyer.webp Creates a png file with webp extension. On webp docs is stated that ImageMagick does support webp $ convert --version` Version: ImageMagick 6.6.9-7 2012-08-17…
Janghou
  • 5,499
  • 6
  • 43
  • 59
43
votes
18 answers

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, so I fell back to imagemagick & gimp: convert…
bstpierre
  • 1,966
  • 3
  • 15
  • 29
42
votes
3 answers

ImageMagick:convert-im6.q16: no images defined

According to this question, How can I convert a series of images to a PDF from the command line on linux?, ImageMagick can convert multiple images to a single PDF. How could I reverse the operation and convert a PDF of several pages to multiple…
AbstProcDo
  • 2,811
  • 6
  • 29
  • 56
38
votes
2 answers

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 dimensions average 18000x4000. Using ImageMagick, how…
Jason
  • 1,240
  • 4
  • 14
  • 24
30
votes
4 answers

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 latest 14.04, and those packages seem to have…
Enrique Moreno Tent
  • 3,289
  • 11
  • 41
  • 65
29
votes
5 answers

Is there a command to get the number of frames in a gif?

Is there a command to get the number of frames in a gif? I have some gifs, and I want to convert them into arrays, but I want to limit the array, and structure of the array based on the number of frames in any random gif I happen to feed my program.…
j0h
  • 14,548
  • 28
  • 104
  • 178
24
votes
1 answer

Where is the magick command of Imagemagick?

This may be a simple question, however, I couldn't find a solution. The ImageMagick contains a program named magick to convert image formats from one to another. When I wrote $ magick into the console, I've got the following error. Command 'magick'…
kelalaka
  • 461
  • 1
  • 6
  • 19
24
votes
1 answer

dpkg: error processing package install-info

I tried installing imagemagick package by sudo apt-get install imagemagick I'm getting the following error now, how to fix it. $ sudo apt-get install imagemagick Reading package lists... Done Building dependency tree Reading state…
Shan Khan
  • 1,141
  • 1
  • 7
  • 11
1
2 3
18 19