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
1answer
14 views

Convert binary data to valid image format, using Imagemagick (or other tool)

I have raw binary data in a file. I know that it is "8-BPP monochrome" and I know width and height of image. How could I convert this data to any readable image format?
1
vote
1answer
16 views

Imagemagick's mogrify can't render text

I'm trying a simple mogrify test.png -annotate +100+100 '26082015' on a simple image, and no text is rendered. I also tried: mogrify test.png -font courier -fill black -pointsize 20 -annotate ...
2
votes
1answer
15 views

Imagemagick convert -append producing incorrect output

I am trying to stitch together a sequence of images. The first few seem to work fine, but after a couple, bad images appear instead of the specified images. Here are the first several images: ...
0
votes
1answer
17 views

Operating on wildcard input files and saving output as <input> + suffix

I want to batch process my a list of wildcard input files and then output then to the input filename with a suffix appended. I'm hoping to understand this general case. In particular, I'm running ...
0
votes
0answers
13 views

Imagemagick - 4 pages to one PDF page

I have a pdf with 100 pages. How can I make a new pdf that in every page I have 4 pages? I know that I can do it with chrome by printing the pdf to new pdf and change this in the options ,But I want ...
-1
votes
1answer
39 views

$PATH not saving after exporting Imagemagick paths

I am trying to install Imagemagick using the official instructions. I have executed the three export commands: export MAGICK_HOME="$HOME/ImageMagick-6.9.2" export PATH="$MAGICK_HOME/bin:$PATH" ...
1
vote
0answers
22 views

Disk space used by ImageMagick/Ghostscript

I have a 200 MB PDF file input.pdf consisting of scanned images, whose resolution I want to reduce. Under Windows 7 the following command convert -density 200x200 -quality 60 -compress jpeg ...
1
vote
0answers
20 views

Using `imagemagick convert`, how do I resize an image and convert it to a centred A4 sized pdf while retaining image quality?

When I convert a png-image to pdf, I have been using convert in.png -page A4 out.pdf to get a pdf where the image quality is retained and the image is aligned to the bottom left corner by default. To ...
0
votes
0answers
26 views

Layer 2 images in Imagemagick without affecting colors due to transparency and gradient

I've been working to add some text from a file to an image using Imagemagick. The text inserts into the correct location, but the text color is getting modified from gold to a slightly muddled gray ...
0
votes
1answer
45 views

Create empty truecolor PNG with ImageMagick

How can I create an empty (transparent) PNG containing 24 bit color channels with ImageMagick? The obvious one convert -size 1920x1080 xc:transparent blank.png will create an 1bit b/w ...
0
votes
1answer
71 views

Convert jpeg quality to 80% using automator

I want to make a automator script that goes trough a folder with subfolders and convert all .JPEG (or .JPG) to the same JPEG, but with a quality of 80%. There is no option in Automator it self like ...
1
vote
1answer
65 views

Batch appending groups of images using imagemagick

I want to use ImageMagick’s convert script to append two images horizontally. This is easily done with convert +append input1.jpg input2.jpg output.jpg. I have a directory of jpeg files however. ...
0
votes
0answers
88 views

Calibrating a flatbed scanner with an IT8 target?

I was trying to calibrate a flatbed scanner with an IT8 target. The problem is that most things turn noticeably greenish (by that I really mean a huge difference in the a* value of Lab*). More ...
3
votes
2answers
92 views

Combine multiple JPEGs into one

I have folder of JPEG files named 0_0, 0_1, 1_0, 1_1, etc. First number is column and second one is row. I want to combine them into one JPEG file. How would I go about doing this? I have looked into ...
0
votes
0answers
132 views

Merge two pdf files side by side in command line

I have got two pdf files with same number of pages and want compare each page with the corresponding page in the other file. For this I would like to merge say page 1 of File1.pdf with page 1 of ...
1
vote
2answers
14 views

creating numbered image series in imagemagick

How can I create a numbered image series? I have to give number(writing on them) to thousands of images. Is there an easy way to do this: convert input.png -font arial -fill black -pointsize 10 ...
0
votes
0answers
14 views

ImageMagick input with both page and geometry using bracket notation

Example of what I'm attempting: convert :/path/to/file.gif[2][200x200] png:-, where [2] is the frame and [200x200] is the geometry. Understandably, the above does not work -- I presume ImageMagick ...
-1
votes
2answers
62 views

Problems starting Suricata on Mac OS X

I am trying to start Suricata 2.0.7 on Mac OS X but am having issues. Any idea what’s wrong and how to fix it? Here are the errors I am seeing: $ sudo suricata -c /etc/suricata/suricata.yaml -i en2 ...
0
votes
2answers
63 views

ImageMagick's mogrify tool darkens PNGs (when only trying to resize)

I'm trying to use the simple command to resize images and overwrite the originals: mogrify -resize 80% * My source images are semi-transparent PNGs that happen to be grayscale. The resize operation ...
2
votes
2answers
279 views

How to convert PDF from two slides per page into one slide per page?

I have a presentation in pdf file with two slides per page. I want a presentation in pdf file with one slide per page. I tried using ImageMagick: convert -crop 1x2@ orig.pdf t2.pdf It ...
1
vote
1answer
122 views

Any differences between identify --verbose and exiftool?

Wanted to know if people know of any major differences between identify --verbose and exiftool. A picture here :- ─[$] identify -verbose me_at_minidebconf_thumbnail.jpeg ...
1
vote
1answer
386 views

Converting from color to true black and white in ImageMagick? [duplicate]

I have seen how to convert a picture from color to grayscale in this Super User question and answer thread. However, grayscale is not black and white. Simply put, if a field has color, I want to ...
0
votes
2answers
51 views

JPGs created with Imagemagick won't display on TV

I am trying to convert a free ebook from PNG to JPG, so I can read it on my Sony Bravia KDL-40R470. This is how I converted the PNG file: convert -density 117 -quality 80 progit.pdf progit.jpg ...
1
vote
1answer
55 views

How to identify black and white images in folder of images

I would like to identify the black and white images in a folder containing 300,000 images which are a variety of colours. An alternative method would be to identify the colour images and treat the ...
1
vote
1answer
65 views

Can ImageMagick number output files with two digits?

I use the following command to extract pages from PDF files into independent JPG files before inserting them into videos: convert.exe -density 96 -resize 640x480 input.pdf +adjoin -alpha remove ...
0
votes
1answer
50 views

-bash: rsvg: command not found

I installed ImageMagick brew install imagemagick --with-librsvg And installation went fine, however when I try to run imagemagick in console I see: -bash: imagemagick: command not found How can ...
0
votes
0answers
58 views

Create clean PDF files?

I have multiple PDF files that could contain malware, so I want to create clean PDF files using utilities available on Linux. My idea is to convert the PDF files to images, then convert the images ...
0
votes
0answers
133 views

How to install Imagick on a Centos 6.5 server with DirectAdmin 1.45?

Could someone help us with installing ImageMagick on a Centos 6.5 server? We use DirectAdmin as our control panel with PHP 5.4. We've searched on Google, but most posts with instructions are outdated. ...
2
votes
1answer
162 views

When trying to start Apache - Cant load “Magick.dll” for module Image::Magick?

I have ActiveState Perl 5.10 installed on Windows 2008 machine. I installed ImageMagick-6.8.7-9 Q16 (32-bit) installed. Instead of using ppm to install PerlMagick I built it myself using dmake and gcc ...
1
vote
1answer
211 views

exiftool width and height of resized images not match the new sizes

$ convert original.jpg -resize 50% test.jpg $ exiftool test.jpg ... Exif Image Width : 1200 Exif Image Height : 1600 Image Width : 600 Image Height ...
0
votes
1answer
157 views

Installing xorg-x11-devel package in SLES 11 SP2

I am using Imagemagick(6.4.3.6-7.18.x86_64) in SLES11 SP2 Using it like bellow.. import -window $wid $jpg and getting this error import: DelegateLibrarySupportNotBuiltIn `' (X11) @ ...
0
votes
0answers
143 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
33 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
77 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
87 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
38 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
331 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
19 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
158 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
555 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
60 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
68 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
287 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: ... ...
12
votes
2answers
5k 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
22 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
238 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
202 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
889 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
460 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
452 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) ...