2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
\r
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
\r
6 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
\r
7 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
\r
8 <style type="text/css" media="screen,projection"><!--
\r
9 @import url("../www/magick.css");
\r
11 <link rel="shortcut icon" href="../images/wand.ico" type="images/vnd.microsoft.icon"/>
12 <title>ImageMagick: Command-line Tools: Display</title>
13 <meta http-equiv="Content-Language" content="en-US"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="Generator" content="PHP"/>
17 <meta name="Keywords" content="command-line, tools:, display, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
18 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
19 <meta name="Rating" content="GENERAL"/>
20 <meta name="Robots" content="INDEX, FOLLOW"/>
21 <meta name="Generator" content="ImageMagick Studio LLC"/>
22 <meta name="Author" content="ImageMagick Studio LLC"/>
23 <meta name="Revisit-after" content="2 DAYS"/>
24 <meta name="Resource-type" content="document"/>
25 <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/>
26 <meta name="Distribution" content="Global"/>
29 <body id="www-imagemagick-org">
\r
30 <div class="titlebar">
\r
31 <a href="../index.html">
\r
32 <img src="../images/script.png" alt="[ImageMagick]"
\r
33 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
34 <a href="http://www.networkredux.com">
\r
35 <img src="../images/networkredux.png" alt="[sponsor]"
\r
36 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
37 <a href="http://www.imagemagick.org/discourse-server/">
\r
38 <img src="../images/logo.jpg" alt=""
\r
39 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
40 <a href="../index.html">
\r
41 <img src="../images/sprite.jpg" alt=""
\r
42 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
45 <div class="eastbar">
\r
48 <a href="../index.html">About ImageMagick</a>
50 <div class="sep"></div>
\r
52 <a href="../www/command-line-tools.html">Command-line Tools</a>
55 <a href="../www/command-line-processing.html">Processing</a>
58 <a href="../www/command-line-options.html">Options</a>
61 <a href="http://www.imagemagick.org/Usage/">Usage</a>
64 <a href="../www/api.html">Program Interfaces</a>
67 <a href="../www/magick-wand.html">MagickWand</a>
70 <a href="../www/magick-core.html">MagickCore</a>
73 <a href="../www/perl-magick.html">PerlMagick</a>
76 <a href="../Magick++/">Magick++</a>
79 <a href="../www/architecture.html">Architecture</a>
81 <div class="sep"></div>
\r
83 <a href="../www/install-source.html">Install from Source</a>
86 <a href="../www/install-source.html#unix">Unix</a>
89 <a href="../www/install-source.html#windows">Windows</a>
92 <a href="../www/binary-releases.html">Binary Releases</a>
95 <a href="../www/binary-releases.html#unix">Unix</a>
98 <a href="../www/binary-releases.html#macosx">Mac OS X</a>
101 <a href="../www/binary-releases.html#windows">Windows</a>
104 <a href="../www/resources.html">Resources</a>
106 <div class="sep"></div>
\r
108 <a href="../www/download.html">Download</a>
110 <div class="sep"></div>
\r
112 <a href="http://www.imagemagick.org/script/search.php">Search</a>
114 <div class="sep"></div>
\r
116 <a href="../www/sitemap.html">Site Map</a>
119 <a href="../www/links.html">Links</a>
121 <div class="sep"></div>
\r
123 <a href="../www/sponsors.html">Sponsors:</a>
125 <div class="sponsbox">
126 <div class="sponsor">
127 <a href="http://www.buerodruck.de/stempel-service/index.html">Stempel bestellen</a><!-- 200910000035+ -->
129 <div class="sponsor">
130 <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201003010120 Buchhorn -->
132 <div class="sponsor">
133 <a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
135 <div class="sponsor">
136 <a href="http://www.goyax.de">Börse</a><!-- 201001000240 Gewiese digital-finance.de -->
138 <div class="sponsor">
139 <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
141 <div class="sponsor">
142 <a href="http://www.blumenversender.com">Blumenversand</a><!-- 200911010120 -->
144 <div class="sponsor">
145 <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
155 <p class="navigation-index">[<a href="#usage">Example Usage</a> • <a href="#options">Option Summary</a>]</p>
157 <div class="doc-section">
158 <p>Use the <kbd>display</kbd> program to display an image or image sequence on any X server. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <kbd>display</kbd> command or see below for example usages of the command.</p>
161 <h2><a name="usage"></a>Example Usage</h2>
162 <div class="doc-section">
164 <p>We list a few examples of the <kbd>display</kbd> command here to illustrate its usefulness and ease of use. To get started, lets display an image in the JPEG format:</p>
166 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>display rose.jpg</span></p>
167 <p>To tile a slate texture onto the root window, use:</p>
169 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>display -size 1280x1024 -window root slate.png</span></p>
170 <p>To display a visual image directory of all your JPEG images, use:</p>
172 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>display 'vid:*.jpg'</span></p>
173 <p>You can find additional examples of using <kbd>display</kbd> in <a href="http://www-106.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www-106.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="http://www.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
177 <h2><a name="options"></a>Option Summary</h2>
178 <div class="doc-section">
180 <p>The <kbd>display</kbd> command recognizes these options. Click on an option to get more details about how that option works.</p>
185 <th align="left">Option</th>
186 <th align="left">Description</th>
190 <td valign="top"><a href="../www/command-line-options.html#alpha">-alpha</a></td>
191 <td valign="top">on, activate, off, deactivate, set, opaque, copy",
192 transparent, extract, background, or shape the alpha channel</td>
196 <td valign="top"><a href="../www/command-line-options.html#antialias">-antialias</a></td>
197 <td valign="top">remove pixel-aliasing</td>
201 <td valign="top"><a href="../www/command-line-options.html#authenticate">-authenticate <em class="option">value</em></a></td>
202 <td valign="top">decrypt image with this password</td>
206 <td valign="top"><a href="../www/command-line-options.html#backdrop">-backdrop</a></td>
207 <td valign="top">display image centered on a backdrop</td>
211 <td valign="top"><a href="../www/command-line-options.html#background">-background <em class="option">color</em></a></td>
212 <td valign="top">background color</td>
216 <td valign="top"><a href="../www/command-line-options.html#border">-border <em class="option">geometry</em></a></td>
217 <td valign="top">surround image with a border of color</td>
221 <td valign="top"><a href="../www/command-line-options.html#bordercolor">-bordercolor <em class="option">color</em></a></td>
222 <td valign="top">border color</td>
226 <td valign="top"><a href="../www/command-line-options.html#channel">-channel <em class="option">type</em></a></td>
227 <td valign="top">apply option to select image channels</td>
231 <td valign="top"><a href="../www/command-line-options.html#clip">-clip</a></td>
232 <td valign="top">clip along the first path from the 8BIM profile</td>
236 <td valign="top"><a href="../www/command-line-options.html#clip-path">-clip-path <em class="option">id</em></a></td>
237 <td valign="top">clip along a named path from the 8BIM profile</td>
241 <td valign="top"><a href="../www/command-line-options.html#coalesce">-coalesce</a></td>
242 <td valign="top">merge a sequence of images</td>
246 <td valign="top"><a href="../www/command-line-options.html#colormap">-colormap <em class="option">type</em></a></td>
247 <td valign="top">Shared or Private</td>
251 <td valign="top"><a href="../www/command-line-options.html#colors">-colors <em class="option">value</em></a></td>
252 <td valign="top">preferred number of colors in the image</td>
256 <td valign="top"><a href="../www/command-line-options.html#colorspace">-colorspace <em class="option">type</em></a></td>
257 <td valign="top">set image colorspace</td>
261 <td valign="top"><a href="../www/command-line-options.html#comment">-comment <em class="option">string</em></a></td>
262 <td valign="top">annotate image with comment</td>
266 <td valign="top"><a href="../www/command-line-options.html#compress">-compress <em class="option">type</em></a></td>
267 <td valign="top">image compression type</td>
271 <td valign="top"><a href="../www/command-line-options.html#contrast">-contrast</a></td>
272 <td valign="top">enhance or reduce the image contrast</td>
276 <td valign="top"><a href="../www/command-line-options.html#crop">-crop <em class="option">geometry</em></a></td>
277 <td valign="top">preferred size and location of the cropped image</td>
281 <td valign="top"><a href="../www/command-line-options.html#debug">-debug <em class="option">events</em></a></td>
282 <td valign="top">display copious debugging information</td>
286 <td valign="top"><a href="../www/command-line-options.html#decipher">-decipher <em class="option">filename</em></a></td>
287 <td valign="top">convert cipher pixels to plain</td>
291 <td valign="top"><a href="../www/command-line-options.html#define">-define <em class="option">format:option</em></a></td>
292 <td valign="top">define one or more image format options</td>
296 <td valign="top"><a href="../www/command-line-options.html#delay">-delay <em class="option">value</em></a></td>
297 <td valign="top">display the next image after pausing</td>
301 <td valign="top"><a href="../www/command-line-options.html#density">-density <em class="option">geometry</em></a></td>
302 <td valign="top">horizontal and vertical density of the image</td>
306 <td valign="top"><a href="../www/command-line-options.html#depth">-depth <em class="option">value</em></a></td>
307 <td valign="top">image depth</td>
311 <td valign="top"><a href="../www/command-line-options.html#despeckle">-despeckle</a></td>
312 <td valign="top">reduce the speckles within an image</td>
316 <td valign="top"><a href="../www/command-line-options.html#display">-display <em class="option">server</em></a></td>
317 <td valign="top">get image or font from this X server</td>
321 <td valign="top"><a href="../www/command-line-options.html#dispose">-dispose <em class="option">method</em></a></td>
322 <td valign="top">layer disposal method</td>
326 <td valign="top"><a href="../www/command-line-options.html#dither">-dither <em class="option">method</em></a></td>
327 <td valign="top">apply error diffusion to image</td>
331 <td valign="top"><a href="../www/command-line-options.html#edge">-edge <em class="option">radius</em></a></td>
332 <td valign="top">apply a filter to detect edges in the image</td>
336 <td valign="top"><a href="../www/command-line-options.html#endian">-endian <em class="option">type</em></a></td>
337 <td valign="top">endianness (MSB or LSB) of the image</td>
341 <td valign="top"><a href="../www/command-line-options.html#enhance">-enhance</a></td>
342 <td valign="top">apply a digital filter to enhance a noisy image</td>
346 <td valign="top"><a href="../www/command-line-options.html#equalize">-equalize</a></td>
347 <td valign="top">perform histogram equalization to an image</td>
351 <td valign="top"><a href="../www/command-line-options.html#extract">-extract <em class="option">geometry</em></a></td>
352 <td valign="top">extract area from image</td>
356 <td valign="top"><a href="../www/command-line-options.html#filter">-filter <em class="option">type</em></a></td>
357 <td valign="top">use this filter when resizing an image</td>
361 <td valign="top"><a href="../www/command-line-options.html#flatten">-flatten</a></td>
362 <td valign="top">flatten a sequence of images</td>
366 <td valign="top"><a href="../www/command-line-options.html#flip">-flip</a></td>
367 <td valign="top">flip image in the vertical direction</td>
371 <td valign="top"><a href="../www/command-line-options.html#flop">-flop</a></td>
372 <td valign="top">flop image in the horizontal direction</td>
376 <td valign="top"><a href="../www/command-line-options.html#frame">-frame <em class="option">geometry</em></a></td>
377 <td valign="top">surround image with an ornamental border</td>
381 <td valign="top"><a href="../www/command-line-options.html#fuzz">-fuzz <em class="option">distance</em></a></td>
382 <td valign="top">colors within this distance are considered equal</td>
386 <td valign="top"><a href="../www/command-line-options.html#gamma">-gamma <em class="option">value</em></a></td>
387 <td valign="top">level of gamma correction</td>
391 <td valign="top"><a href="../www/command-line-options.html#geometry">-geometry <em class="option">geometry</em></a></td>
392 <td valign="top">preferred size or location of the image</td>
396 <td valign="top"><a href="../www/command-line-options.html#gravity">-gravity <em class="option">geometry</em></a></td>
397 <td valign="top">horizontal and vertical backdrop placement</td>
401 <td valign="top"><a href="../www/command-line-options.html#help">-help</a></td>
402 <td valign="top">print program options</td>
406 <td valign="top"><a href="../www/command-line-options.html#identify">-identify</a></td>
407 <td valign="top">identify the format and characteristics of the image</td>
411 <td valign="top"><a href="../www/command-line-options.html#immutable">-immutable <em class="option">type</em></a></td>
412 <td valign="top">prohibit image edits</td>
416 <td valign="top"><a href="../www/command-line-options.html#interlace">-interlace <em class="option">type</em></a></td>
417 <td valign="top">type of image interlacing scheme</td>
421 <td valign="top"><a href="../www/command-line-options.html#interpolate">-interpolate <em class="option">method</em></a></td>
422 <td valign="top">pixel color interpolation method</td>
426 <td valign="top"><a href="../www/command-line-options.html#label">-label <em class="option">name</em></a></td>
427 <td valign="top">assign a label to an image</td>
431 <td valign="top"><a href="../www/command-line-options.html#limit">-limit <em class="option">type value</em></a></td>
432 <td valign="top">pixel cache resource limit</td>
436 <td valign="top"><a href="../www/command-line-options.html#log">-log <em class="option">format</em></a></td>
437 <td valign="top">format of debugging information</td>
441 <td valign="top"><a href="../www/command-line-options.html#map">-map <em class="option">filename</em></a></td>
442 <td valign="top">transform image colors to match this set of colors</td>
446 <td valign="top"><a href="../www/command-line-options.html#mattecolor">-mattecolor <em class="option">color</em></a></td>
447 <td valign="top">frame color</td>
451 <td valign="top"><a href="../www/command-line-options.html#monitor">-monitor</a></td>
452 <td valign="top">monitor progress</td>
456 <td valign="top"><a href="../www/command-line-options.html#monochrome">-monochrome</a></td>
457 <td valign="top">transform image to black and white</td>
461 <td valign="top"><a href="../www/command-line-options.html#negate">-negate</a></td>
462 <td valign="top">replace every pixel with its complementary color </td>
466 <td valign="top"><a href="../www/command-line-options.html#normalize">-normalize</a></td>
467 <td valign="top">transform image to span the full range of colors</td>
471 <td valign="top"><a href="../www/command-line-options.html#page">-page <em class="option">geometry</em></a></td>
472 <td valign="top">size and location of an image canvas (setting)</td>
476 <td valign="top"><a href="../www/command-line-options.html#profile">-profile <em class="option">filename</em></a></td>
477 <td valign="top">add, delete, or apply an image profile</td>
481 <td valign="top"><a href="../www/command-line-options.html#quantize">-quantize <em class="option">colorspace</em></a></td>
482 <td valign="top">reduce image colors in this colorspace</td>
486 <td valign="top"><a href="../www/command-line-options.html#quiet">-quiet</a></td>
487 <td valign="top">suppress all warning messages</td>
491 <td valign="top"><a href="../www/command-line-options.html#raise">-raise <em class="option">value</em></a></td>
492 <td valign="top">lighten/darken image edges to create a 3-D effect</td>
496 <td valign="top"><a href="../www/command-line-options.html#regard-warnings">-regard-warnings</a></td>
497 <td valign="top">pay attention to warning messages.</td>
501 <td valign="top"><a href="../www/command-line-options.html#remote">-remote <em class="option">command</em></a></td>
502 <td valign="top">execute a command in an remote display process</td>
506 <td valign="top"><a href="../www/command-line-options.html#resample">-resample <em class="option">geometry</em></a></td>
507 <td valign="top">change the resolution of an image</td>
511 <td valign="top"><a href="../www/command-line-options.html#resize">-resize <em class="option">geometry</em></a></td>
512 <td valign="top">resize the image</td>
516 <td valign="top"><a href="../www/command-line-options.html#respect-parentheses">-respect-parentheses</a></td>
517 <td valign="top">settings remain in effect until parenthesis boundary.</td>
521 <td valign="top"><a href="../www/command-line-options.html#roll">-roll <em class="option">geometry</em></a></td>
522 <td valign="top">roll an image vertically or horizontally</td>
526 <td valign="top"><a href="../www/command-line-options.html#rotate">-rotate <em class="option">degrees</em></a></td>
527 <td valign="top">apply Paeth rotation to the image</td>
531 <td valign="top"><a href="../www/command-line-options.html#sample">-sample <em class="option">geometry</em></a></td>
532 <td valign="top">scale image with pixel sampling</td>
536 <td valign="top"><a href="../www/command-line-options.html#sampling-factor">-sampling-factor <em class="option">geometry</em></a></td>
537 <td valign="top">horizontal and vertical sampling factor</td>
541 <td valign="top"><a href="../www/command-line-options.html#scene">-scene <em class="option">value</em></a></td>
542 <td valign="top">image scene number</td>
546 <td valign="top"><a href="../www/command-line-options.html#seed">-seed <em class="option">value</em></a></td>
547 <td valign="top">seed a new sequence of pseudo-random numbers</td>
551 <td valign="top"><a href="../www/command-line-options.html#segment">-segment <em class="option">values</em></a></td>
552 <td valign="top">segment an image</td>
556 <td valign="top"><a href="../www/command-line-options.html#set">-set <em class="option">attribute value</em></a></td>
557 <td valign="top">set an image attribute</td>
561 <td valign="top"><a href="../www/command-line-options.html#sharpen">-sharpen <em class="option">geometry</em></a></td>
562 <td valign="top">sharpen the image</td>
566 <td valign="top"><a href="../www/command-line-options.html#size">-size <em class="option">geometry</em></a></td>
567 <td valign="top">width and height of image</td>
571 <td valign="top"><a href="../www/command-line-options.html#strip">-strip</a></td>
572 <td valign="top">strip image of all profiles and comments</td>
576 <td valign="top"><a href="../www/command-line-options.html#transparent-color">-transparent-color <em class="option">color</em></a></td>
577 <td valign="top">transparent color</td>
581 <td valign="top"><a href="../www/command-line-options.html#black-threshold">-black-threshold <em class="option">value</em></a></td>
582 <td valign="top">force all pixels below the threshold into black</td>
586 <td valign="top"><a href="../www/command-line-options.html#trim">-trim</a></td>
587 <td valign="top">trim image edges</td>
591 <td valign="top"><a href="../www/command-line-options.html#update">-update <em class="option">seconds</em></a></td>
592 <td valign="top">detect when image file is modified and redisplay</td>
596 <td valign="top"><a href="../www/command-line-options.html#verbose">-verbose</a></td>
597 <td valign="top">print detailed information about the image</td>
601 <td valign="top"><a href="../www/command-line-options.html#version">-version</a></td>
602 <td valign="top">print version information</td>
606 <td valign="top"><a href="../www/command-line-options.html#virtual-pixel">-virtual-pixel <em class="option">method</em></a></td>
607 <td valign="top">access method for pixels outside the boundaries of the image</td>
611 <td valign="top"><a href="../www/command-line-options.html#visual">-visual</a></td>
612 <td valign="top">display image using this visual type</td>
616 <td valign="top"><a href="../www/command-line-options.html#write">-window <em class="option">id</em></a></td>
617 <td valign="top">display image to background of this window</td>
621 <td valign="top"><a href="../www/command-line-options.html#write">-window-group <em class="option">id</em></a></td>
622 <td valign="top">exit program when this window id is destroyed</td>
626 <td valign="top"><a href="../www/command-line-options.html#write">-write <em class="option">filename</em></a></td>
627 <td valign="top">write images to this file</td>
637 <!-- <span id="linkbar-west"> </span> -->
\r
638 <span id="linkbar-center">
\r
639 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
640 <a href="../www/mailing-list.html">Mailing Lists</a> •
\r
641 <a href="http://studio.webbyland.com/ImageMagick/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
643 <span id="linkbar-east"> </span>
\r
645 <div class="footer">
\r
646 <span id="footer-west">© 1999-2009 ImageMagick Studio LLC</span>
\r
647 <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
649 <div style="clear: both; margin: 0; width: 100%; "></div>
\r