ImageMagick is an open source image editing software suite for displaying, converting, and editing raster image files. It supports read/write for more than 100 image file formats.

learn more… | top users | synonyms

4
votes
1answer
26 views

Imagemagick: set IPTC parameters in jpeg image

With the Imagemagick command $ identify -verbose image.jpg so many properties of the image are shown. For example, in the output I can find Profiles: Profile-8bim: 1058 bytes Profile-iptc: 1017 ...
1
vote
1answer
17 views

Can I select a region for the screenshot via keyboard in import

Can I select a region for the screenshot via keyboard in import from ImageMagick? If yes, how can I do it? If no, what can I use instead of import?
4
votes
1answer
54 views

ImageMagick (or other) for UTF-8 text to image

I'm trying to create many single-character images using convert. The purpose is to provide a plastics specialist with images to print onto keyboard keycaps. The ImageMagick documentation suggests ...
5
votes
3answers
262 views

How to rescale several images to same size

I have several image files in a directory. These images are similar size and have same background color. How can I make all images same size by adding background like this attached image?
1
vote
1answer
49 views

unable to open X server [duplicate]

I am trying to display the dimensions of an image and then resize them with a program my system says is there called Package ImageMagick-6.5.4.7-7.el6_5.i686 already installed and latest version. But ...
0
votes
1answer
62 views

Imagemagick segmentation-fault

I statically compiled Imagemagick. Converting images works well so far. But when I run identify -list delegate it shows my delegates, but then exits with "Aborted (core dumped)". Here is the strace ...
0
votes
1answer
47 views

Compiling ImageMagick with special path to librairies

I have been compiling ImageMagick 3.1.2 with the following options ./configure --prefix=/usr/local/imagick-3.1.2/ --with-php-config=/usr/local/php-5.3.13/bin/php-config ...
1
vote
0answers
19 views

Is there an approach to have feh --thumbnails do not display filename?

I have many pictures which are screen shots created from shutter and downloaded from web. These pictures have long file names. When I create thumbnails on these pictures via feh -t, these long file ...
1
vote
0answers
150 views

Can't Install ImageMagick on Centos using Yum

I am trying to install ImageMagick on my dedicated-virtual Centos server for use with PHP. I first ran the following commands successfully: # yum install gcc php-devel php-pear # yum install ...
1
vote
2answers
185 views

Convert image with imagemagick command line convert tool

I have an image Image.png. How do I use the ImageMagick command convert to make this file into a Image.jpg file with the following requirements: File size is 200~500 kb. Resolution in not less than ...
1
vote
0answers
32 views

Convert command produces a small error [closed]

First off, I'm on a Mac, but I think this can be solved here. I'm converting a .gif animation to a series of .png's using. $ convert ex.gif my_png_files_%d.png I get a series of .png-figures but ...
6
votes
3answers
205 views

ImageMagick on multiple files

I have converted a single file from BMP to PNG with ImageMagick's convert using the command below convert CD\ Front.bmp CD\ Front.png I have many such files, thus I tried: for f in */*.bmp ; do ...
2
votes
1answer
200 views

convert pdf to png with resize and adding black border

I try to convert the first page of a book to a png, scale the png to a certain size and add a black border. This is what I tried: convert tmp.pdf\[0\] -background white -alpha remove -border 8 ...
0
votes
2answers
230 views

ImageMagick convert script is failing to generate thumbnails

Product Information: ImageMagick Vers : ImageMagick-6.8.6 Operating System : RHEL 6.4. We are using ImageMagick in our CMS application to convert eps files to png files. But the script is not able ...
2
votes
5answers
524 views

Bash: Fastest way of determining dimensions of image from URL

I'm trying to figure out a really fast method in bash of determining an images dimensions. I know I could wget the image and then use imagemagick to determine the height and width of the image. I'm ...
1
vote
1answer
239 views

Imagemagick on open wrt router “UnableToOpenConfigureFile”

I have installed Open Wrt on my TP-Link TL-WR740N/ND v4. Everything works fine but the Imagemagick. I have installed it into ram (no enough space on rom ) with opkg # opkg install imagemagick ...
3
votes
2answers
1k views

How to convert a color pdf to black-white?

I'd like to transform a pdf with some coloured text and images in another pdf with only black&white, in order to reduce its dimensions. Moreover, I would like to keep the text as text, without ...
0
votes
4answers
240 views

How to rotate all images in a directory with imagemagic?

I want to rotate all the images in a directory that match a pattern. So far I have: for file in `ls /tmp/p/DSC*.JPG`; do convert $file -rotate 90 file+'_rotated'.JPG done but that gives no ...
0
votes
1answer
122 views

How to create ico file with more then one image

I can use imagemagic to convert png to ico but (I think, not sure) it will create one image ico file for the size I specify. convert favicon.png --resize 32 favicon.ico And ico file can contain 2 ...
2
votes
1answer
127 views

Remove nth frames of a gif (remove a frame every n frames)

I've recorded a .gif of the screen with ffmpeg. I've used gifsicle and imagemagick to compress it a bit, but it's still to big. My intent is making it small by removing, say, a frame every 2 frames, ...
0
votes
1answer
92 views

How can I create my own imagemagick binary releases?

I'm looking for a way to build ImageMagick binary distributions for deploying my app. I only need it for Kinux 64-bit (Ubuntu/Debian) and OSX. Actually building it is fine, but I have no idea how to ...
2
votes
1answer
613 views

imagemagick's convert unexpectedly changing the background color

what I'm trying to achieve is to pull a simple graphic from a webserver and use imagemagick to change a few colors so that I can then further use this image. This is the imagemagick portion: convert ...
1
vote
1answer
215 views

Imagemagick convert incorrectly sizes landscape pdfs

When I run convert example.pdf example.png I get a png image, but the image in the pdf is off-center and too small. How do I convert so that the png image is the right size and takes the whole ...
0
votes
1answer
636 views

Imagemagick used to generate PPM's in Linux, PPM's are unreadable

I need to generate PPM's as raw data sources for one program. I have a bunch of png's as Input, which I'm going to convert ppm's. When I try a tool like mogrify it generates files, but these are ...
1
vote
1answer
119 views

imagemagick display: different text in font preview

The awesome display command from imagemagick allows me to preview fonts: display ~/.fonts/font.ttf However, the text is always the same ('That which does not destroy me, only makes me stronger'). ...
1
vote
2answers
1k views

Command line convert webp to jpg?

I'm using ubuntu 12.04. I've installed libwebp2 & libwebp-dev So far, no example found on the net of converting webp to jpg. Some webp files can easily converted by using imagemagick with ...
2
votes
3answers
391 views

Howto recursively create PDF thumnbails on linux command line

I am able to use ImageMagick to create a thumbnail of the first page of a PDF using: convert -thumbnail x80 95.pdf[0] thumb_95.png This works fine and generates a thumb_95.png file. I have tried ...
0
votes
1answer
191 views

ImageMagick to detect numbers

I was curious to know if ImageMagick can detect numbers in an image? What is the best way to code for this if it can be done? If ImageMagick cannot do it is there another way to detect numbers on an ...
3
votes
1answer
129 views

Omitting extension with find?

I need to create thumbnails from multiple .png files and would like to do this using ImageMagicks convert utility. To recursively find all files that are not thumbnails themselves, I am using the ...
0
votes
2answers
473 views

raspberry pi keeps killing imagemagicks convert

My raspberry Pi keeps killing imagemagick's convert command when I'm resizing images, especially larger images. Is there any way I can prevent this?
5
votes
1answer
143 views

Imagemagick resize

I am familiar with convert -resize % for decreasing a size by percentage but what is the command to increase an image from say 700 pixels to 800 pixels? Horizontal width should resize, too. I need ...
1
vote
1answer
221 views

imagemagick globbing multiple extensions

I have a folder containing photos coming from different cameras. I use Imagemagick to convert to resized and renamed photos in another folder. Something like this: convert "*.jpg" \ -resize 640 ...
0
votes
0answers
126 views

Gigapixel Panorama not loading after converted with imagemagick

I made a 3GB tif panorama, but as 3GB is a too big size to open in a computer with a 3Gb RAM, i converted it to JPG convert input.tif output.jpg The result was a 15Mb(?!?) JPG, which i am unable ...
1
vote
1answer
114 views

Define length and scale picture

Is there any program under linux where I can do the following: Suppose I have for example a scan of a drawing on a squared paper and suppose that the squares of the original paper have any distance ...
4
votes
1answer
348 views

how to center vertically tiled watermark

I use imagemagick to add a watermark to my photos. The command line is the following: composite -tile -gravity center watermark.png somefile.jpg somefile.jpg But the watermark isn’t centered ...
3
votes
4answers
2k views

convert single-page landscape pdf into rescaled double-page portrait pdf

I'm having trouble using convert to do the following: I have a bunch of single-page pdf files whose geometry corresponds to a landscape A4 sheet. The actual content is visually split in 2 pages. ...
1
vote
1answer
461 views

Convert a .jpg to a one page .pdf at a certain location

I'm looking to convert a .jpg into a .pdf, where the .jpg is positioned at a certain coordinate say 30 pixels and centered. Right now I'm just using: convert image.jpg image.pdf
7
votes
4answers
453 views

Iterate over n files?

I've got something fairly simple I want to do. I want to use montage on a directory that contains thousands of images, with very few options, namely: me@home$ montage -size 256x256 DSC01*.JPG.svg ...
13
votes
4answers
12k views

How can I convert a PNG to a PDF in high quality so it's not blurry or fuzzy?

There are a lot of questions out there about how to convert a PDF file to a PNG image, but I'm looking to take a nice sharp PNG file and just basically wrap it or embed it in a PDF file without having ...
3
votes
2answers
419 views

Running two animations side-by-side using ImageMagick

I have two animations (.gif files) I want to run side-by-side. Can this be done with ImageMagick? Moreover, I want to start one of the gifs after thirty frames of the other have passed. Can this be ...
2
votes
1answer
1k views

Use imagemagick to convert opaque color to alpha

I have an image with a black background with white elements in the foreground. The image has smoothing, so there are 'in-between' pixels that aren't strictly black or white. I'd like to make the ...
3
votes
0answers
687 views

Generating a slideshow under linux

Under Windows, one is able to generate a nice slideshow (crossfading between images, applying the Ken Burns effect on each image) on Windows using (Windows) Movie Maker. When I create a slideshow ...
4
votes
2answers
2k views

How can I add invisible watermark to images on commandline?

Similar question here but for Tex -document. Imagemagick shows ways of watermarking here but not how to do it as invisible as possible. I currently just obfuscate some functional elements into photos ...
2
votes
0answers
705 views

Using Image Magick Convert to Change Channel Depth?

I want to change an image depth of bitmap for testing purposes. Right now I am trying to get a 2 bit palette image, and a 4444 Hicolor image. I have a true color bitmap. I used the below command ...
19
votes
8answers
22k views

Converting multiple image files from JPEG to PDF format

I want to convert some files from jpeg to pdf. I am using following command. $ convert image1.jpg image1.pdf But I have 100 images. How should I convert all of them to corresponding pdfs? I ...
2
votes
2answers
726 views

Convert a lot of .tif files using imagemagick's mogrify command

I have a lot of tif images in a directory. So I try to convert them into jpg format. I use this command : mogrify -format jpg *.tif But I get an error... an error for each image in fact: mogrify: ...
2
votes
0answers
243 views

'convert' taking a long time to create a PNG thumbnail

I made a png from a pdf using ghostscript. It was converted very fast (not more than 1 sec), and has good quality. $ identify 1.png 1.png PNG 3508x2480 3508x2480+0+0 8-bit PseudoClass 2c 51KB 0.000u ...
4
votes
1answer
864 views

convert pdf to image [jpeg|png]

I need to convert pdf files into image files (like: png (prefer), jpeg). I used convert (from the ImageMagick package) but it takes more than 4 seconds for a 2 page pdf file with only tables ...
4
votes
1answer
444 views

Resize a very tiny xcf image without blurring or dithering it

I have some drawings I made with an Intuos tablet. All of these drawings are 25x35 or so. The color of each pixel was very carefully selected. They're kind of like 'miniatures.' I need to resize ...
12
votes
5answers
12k views

Creating a GIF animation from PNG files

Is there a tool to create a gif animation from a set of png files? I tried the convert command from the ImageMagick suite, but this doesn't always succeed. Also, I have several issues with this: I ...