1ImageMagick(1) General Commands Manual ImageMagick(1)
2
3
4
6 ImageMagick - a free software suite for the creation, modification and
7 display of bitmap images.
8
9
11 magick [options|input-file]... output-file magick-script script-file
12 [script-arguments]...
13
14
16 Use ImageMagick® to create, edit, compose, or convert bitmap images. It
17 can read and write images in a variety of formats (over 200) including
18 PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG.
19 Use ImageMagick to resize, flip, mirror, rotate, distort, shear and
20 transform images, adjust image colors, apply various special effects,
21 or draw text, lines, polygons, ellipses and Bézier curves.
22
23 The functionality of ImageMagick is typically utilized from the com‐
24 mand-line. It can also be accessed from programs written in your fa‐
25 vorite language using the corresponding interface: G2F (Ada), Magick‐
26 Core (C), MagickWand (C), ChMagick (Ch), ImageMagickObject (COM+), Mag‐
27 ick++ (C++), JMagick (Java), JuliaIO (Julia), L-Magick (Lisp), Lua (Lu‐
28 aJIT), NMagick (Neko/haXe), Magick.NET (.NET), PascalMagick (Pascal),
29 PerlMagick (Perl), MagickWand for PHP (PHP), IMagick (PHP), PythonMag‐
30 ick (Python), magick (R), RMagick (Ruby), or TclMagick (Tcl/TK). With a
31 language interface, use ImageMagick to modify or create images dynami‐
32 cally and automagically.
33
34 ImageMagick utilizes multiple computational threads to increase perfor‐
35 mance. It can read, process, or write mega-, giga-, or tera-pixel im‐
36 age sizes.
37
38 ImageMagick is free software delivered as a ready-to-run binary distri‐
39 bution, or as source code that you may use, copy, modify, and distrib‐
40 ute in both open and proprietary applications. It is distributed under
41 a derived Apache 2.0 license.
42
43 The ImageMagick development process ensures a stable API and ABI. Be‐
44 fore each ImageMagick release, we perform a comprehensive security as‐
45 sessment that includes memory error, thread data race detection, and
46 continuous fuzzing to help prevent security vulnerabilities.
47
48 The current release is ImageMagick 7.0.8-11. It runs on Linux, Windows,
49 Mac Os X, iOS, Android OS, and others. We continue to maintain the
50 legacy release of ImageMagick, version 6, at https://legacy.image‐
51 magick.org.
52
53 The authoritative ImageMagick web site is https://imagemagick.org. The
54 authoritative source code repository is https://github.com/ImageMagick.
55 We maintain a source code mirror at https://gitlab.com/ImageMagick.
56
57 ImageMagick is a suite of command-line utilities for manipulating im‐
58 ages. You may have edited images at one time or another using programs
59 such as GIMP or Photoshop, which expose their functionality mainly
60 through a graphical user interface. However, a GUI program is not al‐
61 ways the right tool. Suppose you want to process an image dynamically
62 from a web script, or you want to apply the same operations to many im‐
63 ages, or repeat a specific operation at different times to the same or
64 different image. For these types of operations, a command-line utility
65 is more suitable.
66
67 The remaining of this manpage is a list of the available command-line
68 utilities and their short descriptions. For further documentation con‐
69 cerning a particular command and its options, consult the corresponding
70 manpage. If you are just getting acquainted with ImageMagick, start at
71 the top of that list, the magick(1) program, and work your way down.
72 Also, make sure to check out Anthony Thyssen's tutorial on how to use
73 ImageMagick utilities to convert, compose, or edit images from the com‐
74 mand-line.
75
76
77 magick Read images into memory, perform operations on those images, and
78 write them out to either the same or some other image file for‐
79 mat. The "-script" option can be used to switch from processing
80 command line options, to reading options from a file or pipe‐
81 line.
82
83
84 magick-script
85 This command is similar to magick(1) but with an implied
86 "-script" option. It is useful in special "#!/usr/bin/env mag‐
87 ick-script" scripts that search for the magick-script(1) command
88 anywhere along the users PATH, rather than in a hardcoded com‐
89 mand location.
90
91
92 convert
93 Available for Backward compatibility with ImageMagick's version
94 6 convert(1). Essentially, it is just an alias to a restrictive
95 form of the magick(1) command, which should be used instead.
96
97
98 mogrify
99 Resize an image, blur, crop, despeckle, dither, draw on, flip,
100 join, re-sample, and much more. This command overwrites the
101 original image file, whereas convert(1) writes to a different
102 image file.
103
104
105 identify
106 Describe the format and characteristics of one or more image
107 files.
108
109
110 composite
111 Overlap one image over another.
112
113
114 montage
115 Create a composite image by combining several separate ones. The
116 images are tiled on the composite image, optionally adorned with
117 a border, frame, image name, and more.
118
119
120 compare
121 Mathematically and visually annotate the difference between an
122 image and its reconstruction.
123
124
125 stream Stream one or more pixel components of the image or portion of
126 the image to your choice of storage formats. It writes the pixel
127 components as they are read from the input image, a row at a
128 time, making stream(1) desirable when working with large images,
129 or when you require raw pixel components.
130
131
132 display
133 Display an image or image sequence on any X server.
134
135
136 animate
137 Animate an image sequence on any X server.
138
139
140 import Save any visible window on any X server and output it as an im‐
141 age file. You can capture a single window, the entire screen, or
142 any rectangular portion of the it.
143
144
145 conjure
146 Interpret and execute scripts written in the Magick Scripting
147 Language (MSL).
148
149
150 For more information about the ImageMagick, point your browser to
151 file:///usr/share/doc/ImageMagick-7/index.html or https://image‐
152 magick.org/.
153
154
156 convert(1), compare(1), composite(1), conjure(1), identify(1), im‐
157 port(1), magick(1), magick-script(1), montage(1), display(1), ani‐
158 mate(1), import(1), Magick++-config(1), MagickCore-config(1), Magick‐
159 Wand-config(1)
160
161
163 Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and
164 licenses apply to this software, see file:///usr/share/doc/Image‐
165 Magick-7/www/license.html or https://imagemagick.org/script/license.php
166
167
168
169ImageMagick 2020-04-25 ImageMagick(1)