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
0answers
9 views

issue with install ImageMagick on centos6.5/php5.4 — Unable to load dynamic liberary

I want to install imagick on centos6.5/php5.4 I did all step of this tutorial: https://www.vultr.com/docs/install-imagemagick-on-centos-6 But finaly aftet suscess install I get error with this ...
0
votes
0answers
16 views

Import Image from X11 Screen dosent work in linux

A long story in short, trying to automate an ISO setup/installation process In server(SLES11 SP2) running the installation scripts and virtualbox also installed in the same server. using rdesktop to ...
2
votes
1answer
12 views

Unpaper only processing first page?

I'm trying to use unpaper to process some PDFs that I have. But unpaper only seems to process the first page everytime. I'm using Mac OS X Yosemite. Here's my process: I scan in the document in PD ...
1
vote
1answer
31 views

How to change a program path/alias?

I'm not sure how it works on Linux, but you can type in program names such as ls, man, etc., in any directory and the programs are executed. I uninstalled an old version of ImageMagick and built the ...
1
vote
2answers
24 views

Generate thumbnail with Imagemagick

I need to generate thumbnail for all images in a folder like this ( example ) Original image: What I want: I have tried this command mogrify *.jpg -gravity center -thumbnail 350x200 *.jpg ...
1
vote
2answers
34 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.
1
vote
1answer
8 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 ...
1
vote
1answer
68 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. ...
2
votes
1answer
110 views

ImageMagick: wrong size when converting PDF to JPG

I want to apply some improvements (change brightness, contrast, etc) to a pdf, to make it more readable, so I chose ImageMagick and pdftk. I used the following command to split the pdf into several ...
1
vote
2answers
36 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 ...
1
vote
0answers
27 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 ...
0
votes
3answers
131 views

Command options in bash script mixed up for file names

I developed this simple bash script: #!/bin/bash for img in `find ./to_upload -iname "*.jpg" -type f` do mogrify ‑resize 1024 ‑sample 70 ${img} done When I run it, the script return: ... ...
1
vote
2answers
837 views

Can't convert PDF into image, because of 'no images defined' error

I've the following PDF file: http://www.fmwconcepts.com/misc_tests/pdf_tests/test.pdf But when I'm trying to convert it via: $ convert test.pdf test.png I've the following error: convert: no ...
0
votes
1answer
17 views

Iterate over files, ignoring filenames with a hyphen

Background Converting images from RGB to grayscale. A number of files exist in different directories. For example: outline/trigon.png outline/oval-bw.png outline/crescent-bw.png ...
0
votes
1answer
68 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
65 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
0answers
38 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
27 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
270 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 ...
1
vote
1answer
101 views

Imagemagick's convert output is small when page format is specified

I have these 2 JPEG's and I join them into a single pdf with the following command: convert -compress JPEG -quality 90 -page A4 1.jpg 2.jpg doc.pdf However the resulting document's size is only ...
0
votes
1answer
234 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) ...
1
vote
1answer
187 views

Use 'find' command to search for PNG files, pipe output to imagemagick for batch conversion

I've got a directory with thousands of image files, mostly JPG but some PNG. The files have no extension, they're just numbered. I need to convert all of them to JPG. Using find I can get a list of ...
2
votes
1answer
180 views

ImageMagick - Creating animated GIF from tiled image, having trouble with “virtual canvas” metadata

I have an image that contains smaller images similar to this: ------ | 1 | ------ | 2 | ------ | 3 | ------ | 4 | ------ Each sub-image is 100x200, and the whole image is 100x800 I would like ...
0
votes
2answers
32 views

How can I batch with ImageMagick command?

I'm doing convert dead0000.bmp -alpha on -fill none -draw 'color 0,0 replace' dead0000.png but I have a few thousand files. Is there any way to just do the whole directory at once?
1
vote
1answer
149 views

Why does ImageMagick's montage limit the JPG output to 65500 instead of 65535?

JPEG/JFIF supports a maximum image size of 65535×65535 pixels. Is there any reason why ImageMagick's montage limit the JPG output to 65500 instead of 65535?
2
votes
3answers
564 views

How to batch convert multi-page PDF into individual jpg files

I found these posts on converting a PDF to JPG using ImageMagick. However, I have a 12 page PDF I want to convert into 12 separate high quality jpg files. Looking for the least tedious way possible. ...
0
votes
1answer
93 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 ...
1
vote
0answers
823 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 ...
0
votes
0answers
84 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
1answer
7 views

How do I make weighed average (using alhpa channel as weight) of pictures?

I have multiple similar pictures I want to make aveage of, but not uniformatically. Each zone in pictures should have separate weight, and the weight is encoded in alhpa channel (fully transparent - ...
1
vote
1answer
46 views

Resize/crop multiple files while preserving certain areas?

I have 176 JPEG images that are 450x800 in size, and was wondering if there was a way to essentially resize them, but while preserving their content in certain areas (currently I'm only hoping for the ...
1
vote
1answer
20 views

Positioning images on page using imagemagic

I use the command convert *.png -flip -page 2647x3745+50+50 doc.pdf to produce a pdf from scanned images. I put the option flip in because convert uses the lower-left corner instead of upper-left ...
0
votes
1answer
117 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
0answers
58 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 ...
5
votes
1answer
579 views

Unable to install Imagemagick on Ubuntu 12.10

I've got a virtual machine running on Ubuntu 12.10. When I try to run apt-get install imagemagick I get several 404 errors: Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main libcups2 ...
0
votes
2answers
148 views

How can I run mogrify over the 3 million JPG files?

I have 3 million JPG files stored in a Linux CentOS 6 server. I want to change quality to %50 file size over 1 megabyte. I wrote this command but got an "argument list too long" error: $ find -type ...
0
votes
0answers
362 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 ...
2
votes
1answer
659 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
61 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
67 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 ...
1
vote
0answers
164 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
144 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 ...
1
vote
0answers
254 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
161 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. ...
1
vote
0answers
129 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
334 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
537 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
37 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
1answer
50 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 > ...