ImageMagick is a set of command line utilities to modify, transform, and convert images. The utilities are available for all major OSes.

learn more… | top users | synonyms

-1
votes
0answers
33 views

Homebrew Imagemagick installation aborts with incomplete libltdl package error on Mountain Lion

I am unable to install Imagemagick with homebrew on osx 10.8.5 with the latest xode and cmd line tools installed. After i tried to install Imagemagick with brew install ImageMagick I get the ...
0
votes
0answers
27 views

ImageMagick 'convert' Doesn't Convert JPG to PNG

I'm trying to convert a JPEG to a PNG using ImageMagick. Should be easy, right? What am I doing wrong? ╭ ~/tmp2 [email protected] ╰ % convert -version ...
0
votes
0answers
9 views

Convert file to 24bit bitmap

I'm using imagemagick convert to convert this image http://i.imgur.com/P1uqj9K.jpg to a bmp. However for some reason the tool I am using doesn't like the bitmap. If I save the image as a png and ...
1
vote
1answer
22 views

How to convert a directory of JPGs to multi PDF files?

I'm searching for a batch command that will convert a directory of JPGs to many PDF files. In order to convert JPGs to JPGs, i use the following command: mkdir tmp; find . -name "*.jpg" -exec convert ...
1
vote
2answers
35 views

What causes import command to fail as running through a service

Our System V service runs a daemon that runs the import command. Running our service by sudo service myservice start seems to start the service but when it comes to take a screenshot, import does not ...
0
votes
0answers
25 views

How to apply clut (Color Lookup Table) using ImageMagick command line

IamgeMagick dcouments its -clut option as "Replace the channel values in the first image using each corresponding channel in the second image as a color lookup table...This operator is especially ...
0
votes
0answers
25 views

ImageMagick installing TrueType Font Support

I am trying to install ImageMagick from source, but I can not get it to install truetype. $ ./configure Option Value ...
0
votes
0answers
46 views

ImageMagick delegate library error

I have recently installed ImageMagick and I am trying to use it to convert postscript files to .gif images. I ran the post installation test: '/usr/local/bin/convert logo: logo.gif' This ...
0
votes
1answer
30 views

Transfer transparency from one image to another using imagemagick

I am trying to take the alpha channel from one image and apply it to another. In this particular case I want to "fix" the corners on the pink one. I want to use the alpha channel from the black one. ...
0
votes
0answers
39 views

How to obtain a version of ImageMagick compiled for OpenCL (Linux)

For reasons I do not understand, ImageMagick requires a special compilation to make use of OpenCL drivers on the host machine. Does anyone know of a place where I can obtain a Linux version compiled ...
0
votes
1answer
92 views

ImageMagick for Windows not listing OpenCL as enabled

I'm trying to experiment with GPU-accelerated resize operations using ImageMagick. On my Windows machine, using convert -list configure lists only FEATURES OpenMP and not the OpenCL I expected since ...
1
vote
1answer
63 views

Imagemagick killing colour quality when resizing image

I'm trying to resize a bunch (450+) of images through imagemagick, they all start at 500x500 and I've written a script to resize them to about 5 different sizes. Now I've converted them I notice that ...
1
vote
0answers
19 views

ImageMagick: is there a way to get same PNG from a same file on multiple platforms?

I have a script for converting game assets to multiple resolutions, via imagick, and when I run the same imagick commands on mac and windows (with same version of imagick - ImageMagick 6.8.7-2), the ...
1
vote
1answer
21 views

Imagick jpeg:size option not working on one server but not the other

Not sure if this should be posted here or on stackoverflow so figured this was the safer bet. I'm using Imagick to resize jpegs. This is part of the code $prehintSize = (int) $requestedWidth > ...
0
votes
0answers
42 views

Automatically resize image on the shorter side regardless of orientation in imagemagick

Im struggling to resize an image regardless of orientation using imagemagick, is the program that terrible that a basic detection method is not even included? Do I have to now go and check the ...
1
vote
1answer
61 views

How to display a picture and print pixel coordinates when I click?

When using ImageMagick or similar command line tools it can be useful to know coordinates of some points in the image. How to display an image (with panning and zooming) and print coordinates of ...
1
vote
2answers
66 views

Batch-processing images of documents to look like a fax

Let's say I have a photo or scan of a text document, possibly with some low-contrast watermark background. If it is a photo, in addition to the watermark there will be brightness gradients from the ...
1
vote
0answers
70 views

Best settings to convert massive pdf hiking maps to images using ghostscript/imagemagick

I did convert all of the Te Araroa Hiking Maps from PDFs to JPEGs so far. The original maps are 16-64MB PDFs, which take forever to load on my Android Phone. I converted them using Ghostscript and ...
0
votes
1answer
41 views

unable to rasterize svg with mask

This svg loads in fine in a browser (ffox, chrome, http://jsfiddle.net/9tT6T/), but inkscape and imagemagick just convert this as a white rectangle when exported as a png. How do I rasterize this svg ...
2
votes
1answer
68 views

Does imagemagick support image scaling algorithms related to depixelization

I am currently using this plugin for Paint.NET that provides a number of image filtering functionality. http://forums.getpaint.net/index.php?/topic/23601-2d-image-scaling-algorithms/ I was looking at ...
0
votes
1answer
106 views

Use GIMP color curve with ImageMagick

I created a color curve with GIMP. It looks like this: ~/.gimp2.8/curves/selphy (Just the first lines) # GIMP curves tool settings (time 0) (channel value) (curve (curve-type smooth) ...
2
votes
1answer
114 views

Windows command line ImageMagick percent escapes

I'm trying to use ImageMagick from the command line in Windows 7 to convert many images at once. I would like to use the -set option interface, but I'm getting unexpected results. A short example of ...
0
votes
0answers
85 views

Using imagemagick or gifsicle to output GIF with specific filesize?

I have been following this online guide to convert a small video clip into image frames, then combine them together into a single animated GIF. The problem I'm having is that each GIF tends to be ...
2
votes
1answer
42 views

Converting images of different dimensions into a gif with maximum dimensions

I have a set of images for an animation, but not all of the dimensions are the same. Some may be 100x100, others might be 99x105, a few with 110x100, and so on. If I did a simple convert *.png ...
2
votes
1answer
99 views

ImageMagick failed to convert colors in PDF

I have got a PDF document containing a red font which I want to replace by a black font. I tried the following command according to this answer: convert -density 300 doc.pdf -fill black -opaque ...
0
votes
0answers
41 views

Gif output not as smooth when selecting a sequence of files individually

I have a sequence of images 001.png 002.png 003.png that I would like to combine into an animation. I used the following command convert -dispose 3 -loop 0 *.png out.gif And it looks ok. However, ...
0
votes
1answer
164 views

Normalise levels, contrast, brightness of an image sequence

When making animated gifs or short stop-motion videos from an image sequence, I want them to have all similar levels so that the output looks smooth. It does not have to be a professional quality ...
0
votes
1answer
578 views

How to auto-trim scanned images using imagemagick or graphicsmagick?

I've got some scanned images in *.jpg format. They are scanned using A4 scanner, in greyscale or colour. Scanned pages have very different dimensions - some A5, some A6, some business cards etc. ...
3
votes
1answer
112 views

Convert image to pdf a5 with not empty areas

I'm using this command mogrify -format pdf -page a5 iguana2.jpg to convert a jpg file into a pdf. The problem is that the result has a white border. I'd like the image to full fill the a5 page ...
1
vote
1answer
201 views

make directory if it doesn't exist with `mogrify -path` command

I convert images in a directory named foo to bar by like this. $ mkdir bar $ mogrify -path bar -negate foo/*.png Is there option in Imagemagick that create a folder with -path option, if it not ...
1
vote
1answer
111 views

What is wrong with this attempt to crop an image with ImageMagick's convert utility?

I am trying to make a tool that will, in imitation of responsive design on the web, make iPhone / iPad wallpapers by taking the largest centered crop-to-device-dimensions it can, and programmatically ...
0
votes
1answer
139 views

Apply opacity mask and annotate watermark with imagemagick

I'm trying to find a way to apply a watermark and opacity mask for an image using imagemagick. How do I do it? Source Result Thank you all for reading.
3
votes
2answers
597 views

Convert BMP to PNG while preserving alpha channel

I have an image stored in BMP format and would like to convert it to PNG using imagemagick. I looked at the pixels in a hex viewer and noticed that they are stored in 32bpp, so there is an alpha ...
0
votes
0answers
81 views

Hue/saturation adjustment by ImageMagick

When I scan a old book that is turned yellow, I remove the yellow by using Photoshop like this. open Adjustment -> Hue/Saturation select Yellows and set Lightness to 100 select Reds and set ...
3
votes
1answer
3k views

Convert PDF to JPG images with ImageMagick - how to 0-pad file names?

I convert a pdf file to jpg images by using ImageMagick like this: convert -density 600 foo.pdf foo.jpg The created jpg images are named foo-1.jpg, foo-10.jpg and so on. Is there way to 0-pad the ...
0
votes
2answers
206 views

How to pass a list of files to ImageMagick's montage?

I have a large number of tiles, with the following naming convention: A-x-y.jpg where 0<=x<=16 & 0<=y<=14 Now I know that we can use the Montage tool in ImageMagick, to merge ...
2
votes
1answer
375 views

ImageMagick mogrify does not overwrite original files

I would like to convert image formats. I can use 'convert' command, but it made another image. So I searched and find 'mogrify' command in ImageMagick official page. What I did was mogrify ...
2
votes
2answers
177 views

Imagick Convert Append 2 pdf pages

I am using the following code to make a single pdf file with multiple pages in one jpg file I am using Imagick library and PHP tcpdf convert -append path1.pdf path2.jpg Now what i need to do is to ...
1
vote
1answer
71 views

get rid of transparency of selected part of png using imagemagic

I have this png image with transparency http://s18.postimg.org/d2h2m4yl5/flatten_canvas2.png I want to get rid of transparency using imagemagick, but only of the selected part and not the whole ...
0
votes
0answers
79 views

Does ImageMagick's “convert” support 12 bpp?

Does ImageMagick's convert support 12 bpp? Such as: time convert -size 1920x1080 -depth 12 BGGR_BAYER:./frame0 ./frame.png If my raw data is 12bit, and I use 16bpp to convert, is the generated ...
0
votes
0answers
65 views

Imagemagick do not transform color to transparent

Here is the command I type when I want to generate a new theme of icon : for x in *.xbm; do convert -fill "#AA5500" -transparent white -colorize 100 "${x}" "${x%.*}.png" done It was working when ...
4
votes
1answer
1k views

Can ImageMagick make thumbnails from video?

I'm trying to extract thumbnails from video via ImageMagick. I found some samples from their official site, but it makes GIF, not PNG. I want a solid thumbnail though. Can it create the same output ...
4
votes
2answers
1k views

ImageMagick Convert: How to produce sharp resized PNG files from SVG files?

I am using this command to generate a sharp 512px wide version of an SVG file that I have: convert -geometry 256 pinterest.svg pinterest.png This is the source file: <?xml version="1.0" ...
0
votes
1answer
456 views

CentOS 6.3: yum install ImageMagick, identify and convert don't work

I ran "yum install ImageMagick" on our CentOS 6.3 server, which worked fine, but identify -version and convert don't work (-bash: /usr/local/bin/identify: No such file or directory). I originally ...
0
votes
1answer
257 views

How can I run mogrify, but prefix the filename?

I have 300k+ jpg files in the same directory. Files are like: /covers 0788862281217.jpg 0788863155104.jpg 7888311516341.jpg 7888370920479.jpg 7888497074277.jpg I need to batch resize saving the ...
0
votes
0answers
178 views

ImageMagick Script Error: ': No such file or directory @ error/blob.c/OpenBlob/2644

I am trying to run the following script in terminal: mogrify -resize 900x10000 *.JPG mogrify -resize 900x10000 *.jpg for f in *.JPG do echo "<tr><td><img ...
0
votes
1answer
65 views

Cutting in half and rearranging pages of tif document

I scanned in a booklet, and now I have a tif file with "pages" composed of two real pages each, in the order 6/7,5/8,4/9,3/10,2/11,1/12. Is there a way (tool, imagemagick command, etc.) to slice each ...
1
vote
2answers
91 views

Averaging subsets of images with imagemagick, iteratively

I have a hundred images and I want to average them 5 at a time. The imagemagick command for the first 5 is: convert -background transparent %d.jpg[1-5] -average output1.jpg The imagemagick ...
2
votes
1answer
475 views

imagemagick image conversion piped in avconv fails

I am trying to write a script that should take all sort of images (format, size...) and create a video with avconv. I've managed to make it work with a series of jpg (all the same size though) and I'm ...
0
votes
0answers
185 views

How to install ImageMagick 64-bit on Windows Server 2008 R2 64-bit with Apache 2.4

I use Apache 2.4 64-bit and PHP 5.4.9 64bit VC thread safe. I'm trying to install ImageMagick for PHP. I think the problem is a DLL file, so I searched for something compatible for php_imagick.dll. ...