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

0
votes
2answers
297 views

Does mogrify copy images that fall through resize filter?

I want to run the following command: mogrify -path /somepath -resize '1600x1600>' * are Images, that don't exceed the size of 1600x1600 copied to /somepath? (I am asking, since they would fall ...
3
votes
1answer
138 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
178 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
862 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
97 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
55 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
85 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
1answer
160 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
670 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
162 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
503 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
703 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
296 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
52 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
147 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) ...
0
votes
1answer
365 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") ...
0
votes
1answer
193 views

Can't Start Apache on on Snow Leopard. “libphp5.so requires version 13.0.0 or later, but libjpeg.8.dylib provides version 9.0.0”

To cut a long story short, I was trying to compile and get ImageMagick working on my Mac running Snow Leopard. One thing led to another and now I am stuck with the following error message when I try ...
0
votes
1answer
1k views

Installing imagick on OS X with MAMP 2.1.1

I sincerely hope someone here can help me before I lose all my hair. I'm developing a php web app requiring imagick extension and want to test it locally. I have os x 10.8.2 (Mountain Lion) and MAMP ...
0
votes
1answer
4k views

Why do I keep getting this Imagemagick error?

I currently used this code for Imagemagick: convert "c:\users\****\My Documents\test.png" -transparent white test2.png However, I keep on getting two errors that look like this: convert.exe: ...
0
votes
1answer
212 views

Make imagemagick's `display` exit at terminal, preserving the window (single instance mode)

When I use imagemagick's display from command line, say: $ display -density 150 test1.pdf ... then display locks in the command line, until you exit the window (or press CTRL+C in terminal). ...
0
votes
1answer
297 views

Imagemagick - JPG And PNG extension not working

I have installed ImageMagick-6.5.7-8 and ghost script 8.64 on ubuntu. They are installed successfully but JPG and PNG extension not working here. GIF extension working successfully. I have installed ...
0
votes
1answer
330 views

ImageMagick cannot use identify on remote image if it contains a port number

I am having trouble using exec identify on a remote image with imagemagick if the url contains a port number. So the url appears like this: http://isite.com:81/image.jpg If I remove the :81 it works. ...
0
votes
1answer
2k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run 'sudo pecl install imagick', I get this error: checking ImageMagick MagickWand API configuration program... ...
0
votes
1answer
191 views

Configure macports to build and install to user-specified directory?

I want several machines on my network to be able to use some libraries installed with MacPorts (the libraries are ImageMagick and its dependent image libs). I do not want to build and install for ...
1
vote
0answers
72 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
31 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
93 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
127 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
119 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
263 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
456 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
633 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
20 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
0answers
16 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
11 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
20 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
92 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
134 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 ...
0
votes
0answers
67 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
67 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
174 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
0answers
71 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
0answers
66 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
50 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
97 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
218 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
135 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
128 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
464 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 ...