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

3
votes
1answer
186 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 ...
3
votes
1answer
235 views

transparent gradients with graphicsmagick

I'm trying to create a gradient that goes from transparent to some color. With imageMagick you can do that with (taken from the documentation): convert -size 100x100 gradient:none-firebrick ...
3
votes
1answer
1k views

Building ImageMagick on OSX Lion and can't link libpng

I am trying to build ImageMagick 6.8.0-5 on OSX Lion with support for libpng. I am just using the standard ./configure make make install procedure. I succeed in compiling when I do not reference ...
2
votes
1answer
588 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 ...
2
votes
1answer
157 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 ...
2
votes
1answer
81 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 ...
1
vote
1answer
230 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) ...
1
vote
1answer
211 views

Imagemagick batch converting memory overload

I must to convert about billion of images from jp2 to jpg... I create such .bat for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") do ( convert -limit memory 0 -limit map 0 "%%~ff" -quality 25 ...
1
vote
1answer
848 views

Macports Imagemagick Install for PHP

I'm trying to install Imagick for PHP via Macports and the PECL extension, based on the guide here: sudo port install ImageMagick sudo pecl install imagick I entered the opt/local path and setup ...
1
vote
1answer
171 views

ImageMagick command sometimes fails

I have an ImageMagick command that is something like this: convert "/path/to/photo" -set comment "(c) my company" -resize WxH miff:- | composite -dissolve 30 -geometry +40+138 -quality 80 ...
1
vote
1answer
541 views

Imagemagick convert creates monochrome output only

I have a book scan as a pdf. When I open it with Adobe Reader, it looks like grayscale. When I open it with IrfanView, it looks like grayscale, and the Information option tells me that the image is ...
1
vote
1answer
751 views

Tesseract OCR - Newbie Questions!

I just installed Tesseract OCR and was able to convert a TIF image to its corresponding text. The application seems fairly easy to use, but I am struggling finding the documentation that will help me ...
1
vote
1answer
313 views

How to make this imagemagick command work correctly?

# create a 2 color image from scratch to supply colors for mapping $ convert -size 10x10 xc:white -fill red -draw 'rectangle 0 0 5 5' \ -colors 2 +dither bicolor.gif # map 'em, Danno! $ convert ...
0
votes
1answer
20 views

Convert PNG to Multi-page PDF

I've seen a lot of posts about how to convert a multi-page PDF to PNG but I'm wondering how I can go in the opposite direction if I have the size of each page I want made.
0
votes
1answer
29 views

Get image details ImageMagick

How to I get details of images from all folders and sub folders with ImageMagick in this format. file-name file-location file-format size width height PS - I have read this page ...
0
votes
1answer
46 views

Can't use the * with ImageMagick : I get “Invalid argument”

Using the example provided there : Combine multiple images using ImageMagick I type this in command line in windows 7 : convert -append a_*.jpg out.jpg This is the error message I get : ...
0
votes
1answer
45 views

How do I draw FontAwesome icons onto an image with ImageMagick convert command?

I have been writing text onto images with ImageMagick using the following method: convert input.jpg \ -fill 'rgba(255, 255, 255, 1.0)' \ -font arial.ttf \ -pointsize 140 \ -gravity Center \ ...
0
votes
1answer
84 views

imagemagick draw text word wrapping

I have this script, which writes text to images. echo \\n"List? {y/n}" read cont if [ "$cont" = "y" ] || [ "$cont" = "Y" ] then rm -rf sponsors.txt ls *.jpg *.png *.gif -1 > sponsors2.txt ...
0
votes
1answer
110 views

Imagemagick text to file batch

I want to convert text to images, but the text varies. I would like to make this a batch job. This is my first stab at the problem: #!/bin/bash COUNT=$(ls -f *.jpg *.png *.gif | wc -l) for f in $( ...
0
votes
1answer
526 views

Batch convert with imagemagick jp2 to jpg

What command i need to run to put in img/ folder with same name on ubuntu jpg file with 35% quality converter from jp2? On windows i run such bat: for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") ...
1
vote
0answers
20 views

how to manage images in emacs org mode

I am considering switching from zim wiki to org mode for managing collection of web page pieces. Typically it includes images and texts I copied from a web browser. The question: 1 how to insert ...
1
vote
0answers
720 views

Using avconv to convert an animated gif to mp4 with sound

I want to convert an animated gif and a midi (music) file into a mp4 video. Is it possible? I saw a lot of topics on documentation, foruns and stackexchange sites, but I didn't find. It works with 1 ...
1
vote
0answers
156 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 ...
1
vote
0answers
248 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 ...
1
vote
0answers
122 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 ...
1
vote
0answers
34 views

ImageMagick: is there a way to get the same PNG from the same image 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 the same version of imagick - ImageMagick 6.8.7-2), ...
1
vote
0answers
130 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 ...
1
vote
0answers
193 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 ...
1
vote
0answers
140 views

Convert SVG that has an Arabic text to png (or any raster)

I have an SVG file which has Arabic texts. When I tried to convert it to a raster format Arabic text became unicode signs. Latin letters are allright. I tried imageMagick and rsvg-convert. Both are ...
1
vote
0answers
292 views

can I remove imagemagick by deleting directories?

I posted this to StackOverflow, but probably belongs here. I'm on OSX Lion, trying to get back to basics so I can run RMagick in Rails 3.0, using rvm. When I tried to add the RMagick gem to Rails ...
1
vote
0answers
494 views

Installing an OTF Font under Ubuntu Server

I have an OTF Font I want to use with ImageMagick. Last time I had to install it on other machines, I copied it into /usr/share/fonts and ran fc-cache, then, convert -list font | grep "myfont" found ...
1
vote
0answers
707 views

From Illustrator to png with the help of ImageMagick

Currently I save my files in Illustrator as .pdf files so that I can use ImageMagick to manipulate the resulting images programatically (cropping, adding borders, resizing, etc) and convert them to ...
0
votes
0answers
3 views

ImageMagick `display` on MS Windows

Is there a way to use ImageMagick's display command-line tool on MS Windows? As far as I know, it requires an X Window System, which MS Windows does not have. Yet, the MS Windows binary come with ...
0
votes
0answers
35 views

Can't get ImageMagick -fft to execute in Command Prompt

I downloaded ImageMagick (Windows 7 64-bit) and FFTW, and I can do simple commands but I can't use the -fft option. Commands are from the ImageMagickv6 examples. None of the examples with -fft work. ...
0
votes
0answers
33 views

Imagemagick - Blank Gif created when trying to combine PNGs

I've been working with imagemagick (Ubuntu 12.04/ImageMagick 6.6.9-7) and I've been using it to create animated gifs from a range of files using the following command inside a bash script. convert ...
0
votes
0answers
25 views

Imagemagick: Advanced JPG to PNG convertion

How could I do something like this with Imagemagick?: imagemagick -inuput:0*.jpg select-by-color:ffffff -threshold:15 -fill:fffff -mode:greyscale -mode:index:17 -output:Original_filename.png Using ...
0
votes
0answers
189 views

Creating and splitting large multipage TIFF images

I need to both create and split multipage TIFF images, ranging from 2 to almost 100 pages (A4, 300 dpi, 2500×3500 px). The job is performed periodically by a script on an x64 Linux server. Currently ...
0
votes
0answers
202 views

imagemagick convert tiff degrades quality, how to prevent it?

I am using imagemagick convert to extract multiple tif images from a single tif file. But when I use the following command convert image.tif single%d.tif I get very low quality (sort of blurred) ...
0
votes
0answers
73 views

Toold for vector-to-vector conversions (SVG/PDF to EMF/EPS)

I used the convert of IM to translate svg to eps. But apparently ImageMagick rasterized it. Is there a mode to do vector-to-vector conversion? Inkscape does not reproduce transparent areas and ...
0
votes
0answers
30 views

How to create multiple images of montages using ImageMagick

I can create a montage from a folder of images using ImageMagick. Simple enough. However I have 100+ images that are about 640x400 a piece. I want to have a contact sheet of about 2 images by 3 ...
0
votes
0answers
50 views

Adding bleed margins to CSS sprites with ImageMagick

I have a CSS spritesheet with equal-sized sprites. I want to add a 1-pixel margin to each sprite, and extend each sprite's outermost pixel into that margin -- basically a full bleed effect for each ...
0
votes
0answers
318 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 ilesm@mb-ilesm.local ╰ % convert -version ...
0
votes
0answers
137 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
112 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 ...
0
votes
0answers
63 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
0answers
136 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 ...
0
votes
0answers
233 views

ImageMagick video filter for FFmpeg

I'd like to apply some non-trival video operations on a per-frame base. So far, I've been using shell scripts + ImageMagick + FFmpeg, decomposing the video into individual frames on disk, processing ...
0
votes
0answers
141 views

batch split note scans with automatic recognition of parts in page

I regularly use paper to make notes and concepts for most things, work and others. To be quick when having an idea I note them one after another, just to make sure I find things later, I use paper ...
0
votes
0answers
134 views

PhotoViewer.dll for Windows XP

I know it comes with Windows 7, but is there an equivalent standalone module for XP's "Picture and Fax Viewer"?
0
votes
0answers
491 views

Comparing two images: get the XY location of any differences found

I'm trying to compare two images using the ImageMagick Compare module; everything seems okay, but I want to know the exact XY locations of the 'differences' found. How can I get this? I already ...