Debian Codegraph @

www/defines.html

raw symbols ◀ ▶
Source reconstructed at patch state 4 of 6 — not the installed (fully patched) source.
6 Debian patches touch this file
1
2
3
4 <!DOCTYPE html>
5 <html lang="en" data-bs-theme="dark">
6 <head>
7 <script src="assets/color-modes.js" ></script>
8 <meta charset="utf-8" />
9 <meta name="viewport" content="width=device-width, initial-scale=1" />
10 <title>ImageMagick – Defines</title>
11 <meta name="keywords" content="Defines, Image Processing, Digital Image Editing, Image Conversion, Open-Source Software, Image Manipulation, Command-Line Image Tools" />
12 <meta name="description" content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
13 <meta name="application-name" content="ImageMagick" />
14 <meta name="application-url" content="https://imagemagick.org" />
15 <meta name="copyright" content="Copyright (c) 1999 ImageMagick Studio LLC" />
16 <meta itemprop='url' content='../' />
17 <meta itemprop='title' content='ImageMagick' />
18 <meta itemprop='description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
19 <meta property='og:url' content='../' />
20 <meta property='og:name' content='ImageMagick' />
21 <meta property='og:image' content='../images/logo.png' />
22 <meta property='og:type' content='website' />
23 <meta property='og:site_name' content='ImageMagick' />
24 <meta property='og:description' content="ImageMagick is a powerful, open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for web developers, graphic designers, and researchers, it offers versatile tools for image processing, including batch processing, format conversion, and complex image transformations." />
25 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
26 <link type="images/png" sizes="64x64" href="../images/wand.png" rel="icon" />
27 <link type="images/icon" sizes="16x16" href="../images/wand.ico" rel="shortcut icon" />
28 <link href="defines.html" rel="canonical" />
29 <link href="assets/bootstrap.min.css" rel="stylesheet" />
30 </head>
31 <body>
32 <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
33 <symbol id="check2" viewBox="0 0 16 16">
34 <path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
35 </symbol>
36 <symbol id="circle-half" viewBox="0 0 16 16">
37 <path d="M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"/>
38 </symbol>
39 <symbol id="moon-stars-fill" viewBox="0 0 16 16">
40 <path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z"/>
41 <path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z"/>
42 </symbol>
43 <symbol id="sun-fill" viewBox="0 0 16 16">
44 <path d="M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>
45 </symbol>
46 </svg>
47 <div class="dropdown position-fixed bottom-0 end-0 mb-3 me-3 bd-mode-toggle">
48 <button class="btn btn-bd-secondary py-2 dropdown-toggle d-flex align-items-center"
49 id="bd-theme"
50 type="button"
51 aria-expanded="false"
52 data-bs-toggle="dropdown"
53 aria-label="Toggle theme (auto)">
54 <svg class="bi my-1 theme-icon-active" width="1em" height="1em"><use href="#circle-half"></use></svg>
55 <span class="visually-hidden" id="bd-theme-text">Toggle theme</span>
56 </button>
57 <ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="bd-theme-text">
58 <li>
59 <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light" aria-pressed="false">
60 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#sun-fill"></use></svg>
61 Light
62 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
63 </button>
64 </li>
65 <li>
66 <button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="dark" aria-pressed="false">
67 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#moon-stars-fill"></use></svg>
68 Dark
69 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
70 </button>
71 </li>
72 <li>
73 <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="auto" aria-pressed="true">
74 <svg class="bi me-2 opacity-50" width="1em" height="1em"><use href="#circle-half"></use></svg>
75 Auto
76 <svg class="bi ms-auto d-none" width="1em" height="1em"><use href="#check2"></use></svg>
77 </button>
78 </li>
79 </ul>
80 </div>
81 <svg xmlns="http://www.w3.org/2000/svg" class="d-none">
82 <symbol id="arrow-right-circle" viewBox="0 0 16 16">
83 <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
84 </symbol>
85 <symbol id="color-mode" viewBox="0 0 118 94">
86 <title>Color Modes</title>
87 <path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
88 </symbol>
89 </svg>
90 <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
91 <div class="container-fluid">
92 <a class="navbar-brand" href="../index.html"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../images/wand.ico"/></a>
93 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
94 <span class="navbar-toggler-icon"></span>
95 </button>
96
97 <div class="collapse navbar-collapse" id="magick-navbars">
98 <ul class="navbar-nav me-auto mb-2 mb-md-0">
99 <li class="nav-item">
100 <a class="nav-link " href="download.html">Download</a>
101 </li>
102 <li class="nav-item">
103 <a class="nav-link " href="command-line-tools.html">Tools</a>
104 </li>
105 <li class="nav-item">
106 <a class="nav-link " href="command-line-processing.html">CLI</a>
107 </li>
108 <li class="nav-item">
109 <a class="nav-link " href="develop.html">Develop</a>
110 </li>
111 <li class="nav-item">
112 <a class="nav-link" rel="noopener" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
113 </li>
114 <li class="nav-item">
115
116 </li>
117 </ul>
118 <form class="d-flex form-inline" action="../www/search.html">
119 <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
120 <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
121 </form>
122 </div>
123 </div>
124 </nav>
125
126 <div class="col-lg-8 mx-auto p-4 py-md-5 text-body-secondary">
127 <header class="d-flex align-items-center pb-3 mb-5 border-bottom">
128 <a href="../index.html" class="d-flex align-items-center text-decoration-none">
129 <h1 class="mt-5 fs-4">Defines</h1>
130 </a>
131 </header>
132
133 <main class="container">
134 <div>
135
136 <p class="magick-description">The <a href="command-line-options.html#define">-define</a> command-line option adds specific global settings generally used to control coders and image processing operations.</p>
137
138 <p>This option creates one or more definitions for coders and decoders to use
139 while reading and writing image data. Definitions are generally used to
140 control image file format coder modules, and image processing operations,
141 beyond what is provided by normal means. Defined settings are listed in <a href="command-line-options.html#verbose">-verbose</a> information ("<samp>info:</samp>" output format) as "Artifacts". </p>
142
143 <p>If <var>value</var> is missing for a definition, an empty-valued
144 definition of a flag is created with that name. This used to control on/off
145 options. Use <a href="command-line-options.html#define">-define keys</a> to remove definitions
146 previously created. Use <a href="command-line-options.html#define">+define "*"</a> to remove all existing definitions.</p>
147
148 <p>The same 'artifact' settings can also be defined using the <a href="command-line-options.html#set">-set "option:<var>key</var>" "<var>value</var>"</a> option, which also allows the use of <a href="../www/escape.html" >Format and Print Image Properties</a> in the defined value. </p>
149
150 <p>The <var>option</var> and <var>key</var> are case-independent (they are
151 converted to lowercase for use within the decoders) while the <var>value</var>
152 is case-dependent.</p>
153
154 <p>Such settings are global in scope, and affect all images and operations. </p>
155
156 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick bilevel.tif -define ps:imagemask eps3:stencil.ps
157 magick arrow.tga -set colorspace:auto-grayscale=off myArrow.tga </samp></pre>
158
159 <p>Set attributes of the image registry by prefixing the value with
160 <samp>registry:</samp>. For example, to set a temporary path to put work files,
161 use:</p>
162
163 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define registry:temporary-path=/data/tmp </samp></pre>
164
165 <p>Here is a list of recognized defines:</p>
166
167
168 <div>
169
170 <table class="table table-sm table-hover table-striped table-responsive">
171 <tr>
172 <th align="center" colspan=2>Command-line Defines</th>
173 </tr>
174
175 <tr>
176 <td colspan="2"><p></p></td>
177 </tr>
178
179 <tr>
180 <td>ashlar:best-fit</td>
181 <td>align tiles on both the left and right edges.</td>
182 </tr>
183
184 <tr>
185 <td>ashlar:tiles</td>
186 <td>set the maximum number of image tiles to render per canvas.</td>
187 </tr>
188
189 <tr>
190 <td>auto-threshold:verbose</td>
191 <td>return derived threshold as the <samp>auto-threshold:threshold</samp> image property.</td>
192 </tr>
193
194 <tr>
195 <td>color:illuminant</td>
196 <td>reference illuminant, defaults to D65.</td>
197 </tr>
198
199 <tr>
200 <td>colorspace:auto-grayscale=<var>on|off</var></td>
201 <td>Prevent automatic conversion to grayscale inside coders that support
202 grayscale. This should be accompanied by -type truecolor. PNG and TIF do
203 not need this define. With PNG, just use PNG24:image. With TIF, just use
204 -type truecolor. JPG and PSD will need this define.</td>
205 </tr>
206
207 <tr>
208 <td>compare:frequency-domain=<var>boolean</var></td>
209 <td>Certain similarity metrics such as DPC, MSE, NCC, PSNR, Phase, and RMSE operate in the frequency domain when FFTW and HDRI are enabled. To utilize their spatial equivalents, you can use the command <samp>-define compare:frequency-domain=false</samp>. However, note that DPC and PHASE metrics do not have spatial equivalents, so this command will be ignored for them.</td>
210 </tr>
211
212 <tr>
213 <td>compare:ssim-radius=<var>value</var></td>
214 <td>Set the structural similarity index radius.</td>
215 </tr>
216
217 <tr>
218 <td>compare:ssim-sigma=<var>value</var></td>
219 <td>Set the structural similarity index sigma.</td>
220 </tr>
221
222 <tr>
223 <td>compare:ssim-k1=<var>value</var></td>
224 <td>Set the structural similarity index k1 argument.</td>
225 </tr>
226
227 <tr>
228 <td>compare:ssim-k2=<var>value</var></td>
229 <td>Set the structural similarity index k2 argument.</td>
230 </tr>
231
232 <tr>
233 <td>compare:virtual-pixels=<var>boolean</var></td>
234 <td>ImageMagick compares images pixel by pixel, aligning from the top-left corner. If sizes differ, unmatched areas in the smaller image are treated as virtual pixels, possibly affecting comparison results. To limit comparison to authentic pixels only, use <samp>-define compare:virtual-pixels=false</samp>.</td>
235 </tr>
236
237 <tr>
238 <td>complex:snr=<var>value</var></td>
239 <td>Set the divide SNR constant <a href="command-line-options.html#complex">-complex</a>.</td>
240 </tr>
241
242 <tr>
243 <td>compose:args=<var>arguments</var></td>
244 <td>Set certain compose argument values when using convert ... -compose ...
245 -composite. See <a href="../www/compose.html"
246 >Image Composition</a>.</td>
247 </tr>
248
249 <tr>
250 <td>compose:clip-to-self=<var>true|false</var></td>
251 <td>Some <a href="command-line-options.html#compose" >-compose</a> methods can modify the
252 'destination' image outside the overlay area. It is disabled by default.</td>
253 </tr>
254
255 <tr>
256 <td>compose:clamp=<var>on|off</var></td>
257 <td>Set each pixel whose value is below zero to zero and any the pixel
258 whose value is above the quantum range to the quantum range (e.g. 65535)
259 otherwise the pixel value remains unchanged. Define supported in
260 ImageMagick 6.9.1-3 and above.</td>
261 </tr>
262
263 <tr>
264 <td>compose:colorspace=<var>colorspace</var></td>
265 <td>Set the colorspace for the colorize composite operator. The default is HCL.</td>
266 </tr>
267
268 <tr>
269 <td>compose:compose=<var>on|off</var></td>
270 <td>This special usage allows you to perform true mathematics of the image channels, without alpha composition effects, becoming involved.</td>
271 </tr>
272
273 <tr>
274 <td>connected-components:angle-threshold=<var>value</var></td>
275 <td>Merges any region with equivalent ellipse angle smaller than
276 <var>value</var> into its surrounding region or largest neighbor.
277 Supported in Imagemagick 7.0.9.24.</td>
278 </tr>
279
280 <tr>
281 <td>connected-components:area-threshold=<var>value</var></td>
282 <td>Merges any region with area smaller than <var>value</var> into its
283 surrounding region or largest neighbor. Thresholds can optionally include ranges, e.g. 410-1600.</td>
284 </tr>
285
286 <tr>
287 <td>connected-components:background-id=<var>object-id</var></td>
288 <td>Identify which object is to be the background object.
289 Supported in Imagemagick 7.0.9.21.</td>
290 </tr>
291
292 <tr>
293 <td>connected-components:circularity-threshold=<var>value</var></td>
294 <td>Merge any region with circularity smaller than <var>value</var>
295 into its surrounding region or largest neighbor. Circularity is
296 computed as 4*pi*area/perimeter^2.
297 Supported in Imagemagick 7.0.9.24.</td>
298 </tr>
299
300 <tr>
301 <td>connected-components:diameter-threshold=<var>value</var></td>
302 <td>Merge any region with diameter smaller than <var>value</var>
303 into its surrounding region or largest neighbor. Diameter is
304 computed as sqrt(4*area/pi).
305 Supported in Imagemagick 7.0.9.24.</td>
306 </tr>
307
308 <tr>
309 <td>connected-components:eccentricity-threshold=<var>value</var></td>
310 <td>Merge any region with equivalent ellipse eccentricity smaller
311 than <var>value</var> into its surrounding region or largest neighbor.
312 Supported in Imagemagick 7.0.9.24.</td>
313 </tr>
314
315 <tr>
316 <td>connected-components:exclude-header=<var>true</var></td>
317 <td>List the objects without the header. Supported in Imagemagick 7.0.9.21.</td>
318 </tr>
319
320 <tr>
321 <td>connected-components:keep=<var>list-of-ids</var></td>
322 <td>Comma and/or hyphenated list of id values to keep in the output. Supported in Imagemagick 6.9.3-0.</td>
323 </tr>
324
325 <tr>
326 <td>connected-components:keep-colors=<var>red;green;blue</var></td>
327 <td>Keeps objects identified by their color in a semicolon separated list. Supported in Imagemagick 6.9.3-0.</td>
328 </tr>
329
330 <tr>
331 <td>connected-components:keep-top=<var>number-of-objects</var></td>
332 <td>Keeps only the top number of objects by area. Supported in Imagemagick 7.0.9.21.</td>
333 </tr>
334
335 <tr>
336 <td>connected-components:major-axis-threshold=<var>value</var></td>
337 <td>Merge any region with equivalent ellipse major axis diameter smaller
338 than <var>value</var> into its surrounding region or largest neighbor.
339 Supported in Imagemagick 7.0.9.24.</td>
340 </tr>
341
342 <tr>
343 <td>connected-components:mean-color=<var>true</var></td>
344 <td>Change the output image from id values to mean color values. Supported in Imagemagick 6.9.2-8.</td>
345 </tr>
346
347 <tr>
348 <td>connected-components:minor-axis-threshold=<var>value</var></td>
349 <td>Merge any region with equivalent ellipse minor axis diameter smaller than <var>value</var> into its surrounding region or largest neighbor. Supported in Imagemagick 7.0.9.24.</td>
350 </tr>
351
352 <tr>
353 <td>connected-components:perimeter-threshold=<var>value</var></td>
354 <td>Merge any region with perimeter smaller than <var>value</var> into its surrounding region or largest neighbor. Supported in Imagemagick 7.0.9.24.</td>
355 </tr>
356
357 <tr>
358 <td>connected-components:remove=<var>list-of-ids</var></td>
359 <td>Comma and/or hyphenated list of id values to remove from the output.
360 Supported in Imagemagick 6.9.2-9.</td>
361 </tr>
362
363 <tr>
364 <td>connected-components:remove-colors=<var>red;green;blue</var></td>
365 <td>Remove objects identified by their color in a semicolon separated list.
366 Supported in Imagemagick 6.9.3-0.</td>
367 </tr>
368
369 <tr>
370 <td>connected-components:verbose=<var>true</var></td>
371 <td>Lists id, bounding box, centroid, area, mean color for each region.</td>
372 </tr>
373
374 <tr>
375 <td>convolve:scale=<var>{kernel_scale}[!^] [,{origin_addition}] [%]</var></td>
376 <td>Define the kernel scaling. The special flag ! automatically scales to
377 full dynamic range. The ! flag can be used in combination with a factor or
378 percent. The factor or percent is then applied after the automatic scaling.
379 An example is 50%!. This produces a result 50% darker than full dynamic
380 range scaling. The ^ flag assures the kernel is 'zero-summing', for
381 example when some values are positive and some are negative as in edge
382 detection kernels. The origin addition adds that value to the center
383 pixel of the kernel. This produces an effect that is like adding the image
384 that many times to the result of the filtered image. The typical value
385 is 1 so that the original image is added to the result of the convolution.
386 The default is 0.</td>
387 </tr>
388
389 <tr>
390 <td>deskew:auto-crop=<var>true</var></td>
391 <td>auto crop the image after deskewing.</td>
392 </tr>
393
394 <tr>
395 <td>delegate:bimodal=<var>true</var></td>
396 <td>Specify direct conversion from Postscript to PDF.</td>
397 </tr>
398
399 <tr>
400 <td>distort:scale=<var>value</var></td>
401 <td>Set the output scaling factor for use with <a href="command-line-options.html#distort"
402 >-distort</a>.</td>
403 </tr>
404
405 <tr>
406 <td>distort:viewport=<var>WxH+X+Y</var></td>
407 <td>Set the viewport for use with <a href="command-line-options.html#distort">-distort</a>.</td>
408 </tr>
409
410 <tr>
411 <td>dither:diffusion-amount=<var>X%</var></td>
412 <td>Set the amount of diffusion to use with Floyd-Steinberg diffusion</td>
413 </tr>
414
415 <tr>
416 <td>exif:sync-image=false</td>
417 <td>By default, the resolution of the image is synced with the EXIF profile. Use this define to ignore the EXIF profile.</td>
418 </tr>
419
420 <tr>
421 <td>filename:literal=<var>true</var></td>
422 <td>By default, output filenames can contain <a href="command-line-processing.html#output">embedded formatting characters</a>. Use this option to bypass interpreting embedded formatting characters and instead use the filename literally.</td>
423 </tr>
424
425 <tr>
426 <td>filter:option=<var>value</var></td>
427 <td>Set a filter option for use with <a href="command-line-options.html#resize">-resize</a>.
428 See below for specific options.</td>
429 </tr>
430
431 <tr>
432 <td>filter:b=<var>value</var></td>
433 <td>Redefine the spline factor used for cubic filters such as Cubic,
434 Catrom, Mitchel, and Hermite, as well as the Parzen cubic windowing
435 function. If only one of the b or c values are defined, the other is
436 set so as to generate a 'Cubic-Keys' filter. The meaning of the b and c
437 values was defined in a research paper by Mitchell-Netravali.</td>
438 </tr>
439
440 <tr>
441 <td>filter:blur=<var>factor</var></td>
442 <td>Scale the X axis of the filter (and its window). Use > 1.0 for blurry
443 or &lt; 1.0 for sharp. This should only be used with Gaussian and
444 Gaussian-like filters simple filters, or you may not get the
445 expected results.</td>
446 </tr>
447
448 <tr>
449 <td>filter:c=<var>value</var></td>
450 <td>Redefine the Keys alpha factor used for cubic filters such as Cubic,
451 Catrom, Mitchel, and Hermite, as well as the Parzen cubic windowing
452 function. If only one of the b or c values are defined, the other is
453 set so as to generate a 'Cubic-Keys' filter. The meaning of the b and c
454 values was defined in a research paper by Mitchell-Netravali.</td>
455 </tr>
456
457 <tr>
458 <td>filter:kaiser-alpha=<var>value</var></td>
459 <td>Set the Kaiser window alpha value. When it is multiplied by 'PI',
460 it is equivalent to "kaiser-beta" and will override that setting.
461 It only affects the Kaiser windowing function and does not affect
462 any other attributes.</td>
463 </tr>
464
465 <tr>
466 <td>filter:kaiser-beta=<var>value</var></td>
467 <td>Set the Kaiser window beta value. It only affects Kaiser windowing
468 function and does not affect any other attributes. Before ImageMagick
469 v6.7.6-10, this option was known as "filter:alpha" (an inheritance
470 from the very old "zoom" program). It was changed to bring the function
471 in line with more modern academic research usage and better assign it
472 be more definitive. The default value is 6.5</td>
473 </tr>
474
475 <tr>
476 <td>filter:lobes=<var>count</var></td>
477 <td>Set the number of lobes to use for the Sinc/Bessel filter.
478 This is an alternate way of specifying the 'support' range of the filter,
479 that is designed to be more suited to windowed filters, especially when
480 used for image distorts.</td>
481 </tr>
482
483 <tr>
484 <td>filter:sigma=<var>value</var></td>
485 <td>Set the 'sigma' value used to define the Gaussian filter.
486 The default sigma value is '0.5'. It only affects the Gaussian filter,
487 but does not shrink (but may enlarge) the filter's 'support'.
488 It can be used to generate very small blurs, but without the filter
489 'missing' pixels due to using a small support setting.
490 A larger value of '0.707' (a value of '1/sqrt(2)') is another
491 common setting.</td>
492 </tr>
493
494 <tr>
495 <td>filter:support=<var>radius</var></td>
496 <td>Set the filter support radius. It defines how large the filter
497 should be and thus directly defines how slow the filtered resampling
498 process is. All filters have a default 'preferred' support size.
499 Some filters like Lagrange and windowed filters adjust themselves
500 depending on this value. With simple filters this value either does
501 nothing (but slow the resampling), or will clip the filter function
502 in a detrimental way.</td>
503 </tr>
504
505 <tr>
506 <td>filter:verbose=<var>true</var></td>
507 <td>Enable printing of information about the final internal
508 filter selection to standard output. This includes a commented header
509 on the filter settings being used and data allowing the filter weights
510 to be easily graphed. Note however that some filters are internally
511 defined in terms of other filters. The Lanczos filter, for example,
512 is defined in terms of a SincFast windowed SincFast filter, while
513 the Mitchell filter is defined as a general Cubic family filter
514 with specific 'B' and 'C' settings.</td>
515 </tr>
516
517 <tr>
518 <td>filter:window=<var>filter_function</var></td>
519 <td>The IIR (infinite impulse response) filters Sinc and Jinc are
520 windowed (brought down to zero over the defined support range) with
521 the given filter. This allows you to specify a filter function to be
522 used as a windowing function for these IIR filters. Many of the defined
523 filters are actually windowing functions for these IIR filters. A typical
524 choices is Box, (which effectively turns off the windowing function).</td>
525 </tr>
526
527 <tr>
528 <td>filter:window-support=<var>radius</var></td>
529 <td>Scale the windowing function to this size. This causes
530 the windowing (or self-windowing Lagrange filter) to act is if the
531 support window is larger than what is actually supplied to the calling
532 operator. The filter, however, is still clipped to the true support
533 size that is provided. If unset, this will equal the normal filter
534 support size.</td>
535 </tr>
536
537 <tr>
538 <td>h:format=<var>value</var></td>
539 <td>Set the image encoding format use when writing a C-style header.
540 <var>format</var> can be any output format supported by ImageMagick
541 except for <var>h</var> and <var>magick</var>. If this
542 option is omitted, the default is <var>GIF</var> for PseudoClass
543 images and <var>PNM</var> for DirectClass images.</td>
544 </tr>
545
546 <tr>
547 <td>fourier:normalize=<var>inverse</var></td>
548 <td>Set the location for the FFT/IFT normalization as use by
549 <a href="command-line-options.html#fft">+-fft</a> and <a href="command-line-options.html#ift">+-ift</a>. The default is
550 <var>forward</var>.</td>
551 </tr>
552
553 <tr>
554 <td>frames:step</td>
555 <td>When selecting image <a href="command-line-processing.html">frames</a>, the default is to step one frame at a time through a list, e.g. [0-3], returns frames 0, 1, 2, and 3. Set the step to 2 in this example and we instead get frames 0 and 2.</td>
556 </tr>
557
558 <tr>
559 <td>fx:debug=true</td>
560 <td>Debug <samp>-fx</samp> expression.</td>
561 </tr>
562
563 <tr>
564 <td>hough-lines:accumulator=true</td>
565 <td>Return the accumulator image in addition to the lines image.</td>
566 </tr>
567
568 <tr>
569 <td>json:features</td>
570 <td>Include features in verbose information.</td>
571 </tr>
572
573 <tr>
574 <td>json:limit</td>
575 <td> </td>
576 </tr>
577
578 <tr>
579 <td>json:locate</td>
580 <td> </td>
581 </tr>
582
583 <tr>
584 <td>json:moments</td>
585 <td>Include image moments in verbose information.</td>
586 </tr>
587
588 <tr>
589 <td>kmeans:seed-colors=<var>color-list</var></td>
590 <td>Initialize the colors, where color-list is a semicolon delimited
591 list of seed colors (e.g. red;sRGB(19,167,254);#00ffff)</td>
592 </tr>
593
594 <tr>
595 <td>magick:format=<var>value</var></td>
596 <td>Set the image encoding format use when writing a C-style header.
597 This is the same as "h:format=format" described above.</td>
598 </tr>
599
600 <tr>
601 <td>magnify:method=<var>value</var></td>
602 <td>Choose the method of pixel art magnification. The choices are:
603 eagle2X, eagle3X, eagle3XB, epb2X, fish2X, hq2X, scale2X (default),
604 scale3X, xbr2X</td>
605 </tr>
606
607 <tr>
608 <td>modulate:colorspace=<var>colorspace</var></td>
609 <td>Define the colorspace to use with <a href="command-line-options.html#modulate">-modulate</a>.
610 Any hue-based colorspace may be use. The default is HSL.</td>
611 </tr>
612
613 <tr>
614 <td>morphology:compose=<var>compose-method</var></td>
615 <td>Specify how to merge results generated by multiple<a
616 href="#morphology" >-morphology</a> kernel. The default is none. One
617 typical value is 'lighten' as used, for example, with the sobel edge
618 kernels. </td>
619 </tr>
620
621 <tr>
622 <td>morphology:showKernel=<var>1</var></td>
623 <td>Output (to 'standard error') all the information about a generated <a
624 href="#morphology" >-morphology</a> kernel.</td>
625 </tr>
626
627 <tr>
628 <td>phash:colorspaces=<var>colorspace,colorspace,...</var></td>
629 <td>The perceptual hash defaults to the xyY and HSB colorspaces. When
630 using this define, you can specify up to six alternative colorspaces. (as
631 of IM 7.0.3-8)</td>
632 </tr>
633
634 <tr>
635 <td>phash:normalize=<var>true</var></td>
636 <td>Normalize the phash metric</td>
637 </tr>
638
639 <tr>
640 <td>pixel:compliance=<var>{none|undefined|svg|mvg|x11|xpm}</var></td>
641 <td>In combination with <a href="command-line-options.html#depth">-depth</a>, this define allows color values to be presented in one or combination of: percent, names, 8-bit components, or hex values. 16-bit depth values are generally shown as percents and 8-bit depth values generally are shown as a combination of color names and 8-bit component values.</td>
642 </tr>
643
644 <tr>
645 <td>png:bit-depth=<var>value</var></td>
646 <td> </td>
647 </tr>
648
649 <tr>
650 <td>png:chunk-malloc-max=<var>value</var></td>
651 <td>Set the maximum chunk size.</td>
652 </tr>
653
654 <tr>
655 <td>profile:skip=<var>name1,name2,...</var></td>
656 <td>Skip the named profile[s] when reading the image. Use skip="*" to
657 skip all named profiles in the image. Many named profiles exist,
658 including ICC, EXIF, APP1, IPTC, XMP, and others.</td>
659 </tr>
660
661 <tr>
662 <td>precision:highres-transform=<var>true</var></td>
663 <td>Increase the profile transform precision. Note, there is a slight
664 performance penalty as the high-precision transform is floating point
665 rather than unsigned. It is important to note that results may depend
666 on whether or not the original image already has an included profile.</td>
667 </tr>
668
669 <tr>
670 <td>preserve-timestamp=<var>true|false</var></td>
671 <td>Preserve file timestamp (<samp>mogrify</samp> only).</td>
672 </tr>
673
674 <tr>
675 <td>q-table=<var>quantization-table.xml</var></td>
676 <td>Custom JPEG quantization tables.</td>
677 </tr>
678
679 <tr>
680 <td>quantum:format=<var>type</var></td>
681 <td>Set the type to <samp>floating-point</samp> to specify a floating-point
682 format for raw files (e.g. GRAY:) or for MIFF and TIFF images in HDRI mode
683 to preserve negative values. If <a href="command-line-options.html#depth">-depth</a> 16 is
684 included, the result is a single precision floating point format.
685 If <a href="command-line-options.html#depth">-depth</a> 32 is included, the result is
686 double precision floating point format. For signed pixel data, use <samp>-define quantum:format=signed</samp></td>
687 </tr>
688
689 <tr>
690 <td>quantum:maximum=<var>value</var></td>
691 <td>Maximum value for certain image types such as DCM. If not set, the
692 the maximum value is QuantumRange.</td>
693 </tr>
694
695 <tr>
696 <td>quantum:minimum=<var>value</var></td>
697 <td>Minimum value for certain image types such as DCM. If not set, the
698 the minimum value is zero.</td>
699 </tr>
700
701 <tr>
702 <td>quantum:polarity=<var>photometric-interpretation</var></td>
703 <td>Set the photometric-interpretation of an image (typically for TIFF
704 image file format) to either <samp>min-is-black</samp> (default) or
705 <samp>min-is-white</samp>.</td>
706 </tr>
707
708 <tr>
709 <td>registry:<var>attribute</var>=<var>value</var></td>
710 <td>Set attributes of the image registry, for example,
711 registry:temporary-path=/data/tmp.
712 </td>
713 </tr>
714
715 <tr>
716 <td>registry:date:precision=<var>length</var></td>
717 <td>Set the maximum number of characters printed for any timestamp.</td>
718 </tr>
719
720 <tr>
721 <td>registry:option:pedantic=<var>true | false</var></td>
722 <td>By default, if a command-line option is also a filename (e.g., -quality), it is intrepetted as a filename. Set this option to <samp>true</samp> to interpret it as an option. </td>
723 </tr>
724
725 <tr>
726 <td>registry:precision=<var>value</var></td>
727 <td>Set the maximum number of significant digits to be printed.</td>
728 </tr>
729
730 <tr>
731 <td>resample:verbose=<var>true</var></td>
732 <td>Output the cylindrical filter lookup table created by the EWA
733 (Elliptical Weighted Average) resampling algorithm. Note this table
734 uses a squared radius lookup value. This is typically only used for
735 debugging EWA resampling.
736 </td>
737 </tr>
738
739 <tr>
740 <td>sample:offset=<var>geometry</var></td>
741 <td>Location of the sampling point within the sub-region being sampled,
742 expressed as percentages (see <a href="command-line-options.html#sample" >-sample</a>).</td>
743 </tr>
744
745 <tr>
746 <td>shepards:power=<var>value</var></td>
747 <td>Set the exponent in the Shepard's distortion. The default is 2.</td>
748 </tr>
749
750 <tr>
751 <td>stream:buffer-size=<var>value</var></td>
752 <td>Set the stream buffer size. Select 0 for unbuffered I/O.</td>
753 </tr>
754
755 <tr>
756 <td>trim:percent-background=<var>X%</var></td>
757 <td>Set the amount of background that is tolerated in an edge. It is
758 specified as a percent. 0% means no background is tolerated.
759 50% means an edge can contain up to 50% pixels that are background per
760 the fuzz-factor.</td>
761 </tr>
762
763 <tr>
764 <td>trim:edges={<var>north,east,south,west</var>}</td>
765 <td>Only trim the specified edges of the image.</td>
766 </tr>
767
768 <tr>
769 <td>trim:minSize=<var>geometry</var></td>
770 <td>Limit the trim to the specified size.</td>
771 </tr>
772
773 <tr>
774 <td>type:features=<var>string</var></td>
775 <td>Add a font feature to be used by the RAQM delegate during complex
776 text layout. This is usually used to turn on optional font features that
777 are not enabled by default, but can be also used to turn off default font
778 features. Features include those to control kerning, ligature and Arabic.</td>
779 </tr>
780
781 <tr>
782 <td>type:hinting=<var>false</var></td>
783 <td>Disable font hinting. Proper glyph rendering needs the scaled points
784 to be aligned along the target device pixel grid, through an operation
785 often called hinting. One of its main purposes is to ensure that important
786 widths and heights are respected throughout the whole font. (For example,
787 it is very often desirable that the ‘I’ and the ‘T’ glyphs have their
788 central vertical line of the same pixel width. Hinting also manages
789 features like stems and overshoots, which can cause problems at small
790 pixel sizes.</td>
791 </tr>
792
793 <tr>
794 <td>white-balance:vibrance=<var>value{%}</var></td>
795 <td>Change in color vibrance of the a &amp; b channels.</td>
796 </tr>
797
798 <tr>
799 <td>x:screen=<var>true</var></td>
800 <td>Obtain the image from the root window.</td>
801 </tr>
802
803 <tr>
804 <td>x:silent=<var>true</var></td>
805 <td>Turn off the beep when importing an image.</td>
806 </tr>
807
808 <tr>
809 <td colspan="2"><p></p></td>
810 </tr>
811
812 <tr>
813 <td colspan="2"><p></p></td>
814 </tr>
815
816 <tr>
817 <th align="center" colspan=2>IMAGE FORMATS</th>
818 </tr>
819
820 <tr>
821 <td colspan="2"><p></p></td>
822 </tr>
823
824 <tr>
825 <td>bmp3:alpha=<var>true|false</var></td>
826 <td>Include any alpha channel when writing in the BMP image format.</td>
827 </tr>
828
829 <tr>
830 <td>bmp:format=<var>value</var></td>
831 <td>Valid values are <var>bmp2</var>, <var>bmp3</var>,
832 and <var>bmp4</var>. This option can be useful when the
833 method of prepending "BMP2:" to the output filename is inconvenient or
834 is not available, such as when using the <a href="mogrify.html">mogrify</a>
835 utility.</td>
836 </tr>
837
838 <tr>
839 <td>bmp:subtype=<var>value</var></td>
840 <td>BMP channel depth subtypes. The choices are: RGB555, RGB565, ARGB4444,
841 ARGB1555. Only support in BMP (BMP4). BMP3 and BMP2 do not contain header
842 fields to support these options.</td>
843 </tr>
844
845 <tr>
846 <td>{caption,label}:{max,start}-pointsize=<var>value</var></td>
847 <td>This sets the bounding pointsize to use when searching for the maximum pointsize where the text annotation still fits within the image boundaries.</td>
848 </tr>
849
850 <tr>
851 <td>dcm:display-range=<var>reset</var></td>
852 <td>Set the display range to the minimum and maximum pixel values for the
853 DCM image format.</td>
854 </tr>
855
856 <tr>
857 <td>dcm:rescale=<var>true</var></td>
858 <td>Enable interpretation of the rescale slope and intercept settings
859 in the file.</td>
860 </tr>
861
862 <tr>
863 <td>dcm:rescale=<var>true</var></td>
864 <td>Enable interpretation of the rescale slope and intercept settings
865 in the file.</td>
866 </tr>
867
868 <tr>
869 <td>dcm:window=<var>CxW</var></td>
870 <td>Specify the dcm window center and width.</td>
871 </tr>
872
873 <tr>
874 <td>dds:cluster-fit=<var>true|false</var></td>
875 <td>Enable the DDS cluster-fit.</td>
876 </tr>
877
878 <tr>
879 <td>dds:compression=<var>dxt1|dxt5|none</var></td>
880 <td>Set the dds compression.</td>
881 </tr>
882
883 <tr>
884 <td>dds:mipmaps=<var>value</var></td>
885 <td>Set the dds number of mipmaps.</td>
886 </tr>
887
888 <tr>
889 <td>dds:weight-by-alpha=<var>true|false</var></td>
890 <td>Enable the DDS alpha weighting.</td>
891 </tr>
892
893 <tr>
894 <td>dng:max-raw-memory=<var>value</var></td>
895 <td>Stop processing if raw buffer size grows larger than that value (in megabytes). Default is 8192.</td>
896 </tr>
897
898 <tr>
899 <td>dng:no-auto-bright=<var>true</var></td>
900 <td>Disable the histogram-based white level.</td>
901 </tr>
902
903 <tr>
904 <td>dng:output-color=<var>value</var></td>
905 <td>Select the output colorspace. The choices are:
906 0 - Raw color (unique to each camera),
907 1 - sRGB D65 (default),
908 2 - Adobe RGB (1998) D65,
909 3 - Wide Gamut RGB D65,
910 4 - Kodak ProPhoto RGB D65,
911 5 - XYZ,
912 6 - ACES</td>
913 </tr>
914
915 <tr>
916 <td>dng:read-thumbnail=<var>true</var></td>
917 <td>Read the embedded thumbnail and store it as a profile called 'dng:thumbnail'.</td>
918 </tr>
919
920 <tr>
921 <td>dng:use-auto-wb=<var>true</var></td>
922 <td>Compute the white balance by averaging the entire image.</td>
923 </tr>
924
925 <tr>
926 <td>dng:use-camera-wb=<var>true</var></td>
927 <td>Uses the white balance specified by the camera. Default is true.</td>
928 </tr>
929
930 <tr>
931 <td>dot:layout-engine=<var>value</var></td>
932 <td>Specify the layout engine for the DOT image format (e.g., <samp>neato</samp>).</td>
933 </tr>
934
935 <tr>
936 <td>eps:use-cropbox=<var>true</var></td>
937 <td>Force Imagemagick to respect the crop box.</td>
938 </tr>
939
940 <tr>
941 <td>exr:color-type=<var>value</var></td>
942 <td>Specify the color type for the EXR format: RGB, RGBA, YC, YCA, Y,
943 YA, R, G, B, A).</td>
944 </tr>
945
946 <tr>
947 <td>fpx:view=<var>value</var></td>
948 <td>Specify the FlashPix viewing object, which contains the specification
949 of a viewing transform. The viewing transform enables applications to
950 represent a set of simple edits as a list of "commands" which are applied
951 to the image in real time without altering the original image.</td>
952 </tr>
953
954 <tr>
955 <td>ftxt:chsep=<var>value</var></td>
956 <td>A single text character that separates channel values for reading and
957 writing. Default: "," (Comma).</td>
958 </tr>
959
960 <tr>
961 <td>ftxt:format=<var>value</var></td>
962 <td>The format string for writing and reading. Default: "\x,\y:\c".
963 For escapes \x etc, see
964 [ftxt: formatted text](http://im.snibgo.com/fmttxt.htm).</td>
965 </tr>
966
967 <tr>
968 <td>ftxt:hasalpha=<var>value</var></td>
969 <td>Whether the text has an alpha channel, for reading only.
970 Default: false.</td>
971 </tr>
972
973 <tr>
974 <td>ftxt:nummeta=<var>value</var></td>
975 <td>The number of meta channels, for reading only. Default 0 (Zero).</td>
976 </tr>
977
978 <tr>
979 <td>heic:chroma=<var>value</var></td>
980 <td>Set the HEIC chroma parameter. Possible values are: "420", "422", "444". Default is "420".</td>
981 </tr>
982
983 <tr>
984 <td>heic:cicp=<var>value</var></td>
985 <td>Set the HEIC color primaries, transfer characteristics, matrix coefficients, and full range flag. Use <samp>1/13/6/1</samp> for full range BT.709. See ISO/IEC 14496-12:2022 standard for a description of these fields and values.</td>
986 </tr>
987
988 <tr>
989 <td>heic:depth-image=<var>true</var></td>
990 <td>Extract the depth image if the container has one.</td>
991 </tr>
992
993 <tr>
994 <td>heic:max-number-of-tiles=<var>value</var></td>
995 <td>Sets the maximum number of tiles of a HEIC image.</td>
996 </tr>
997
998 <tr>
999 <td>heic:max-bayer-pattern-pixels=<var>value</var></td>
1000 <td>Sets the maximum bayer pattern size in pixels of a HEIC image.</td>
1001 </tr>
1002
1003 <tr>
1004 <td>heic:max-items=<var>value</var></td>
1005 <td>Sets the maximum number of items in a box of a HEIC image.</td>
1006 </tr>
1007
1008 <tr>
1009 <td>heic:max-components=<var>value</var></td>
1010 <td>Sets the maximum number of components of a HEIC image.</td>
1011 </tr>
1012
1013 <tr>
1014 <td>heic:max-iloc-extents-per-item=<var>value</var></td>
1015 <td>Sets the maximum number of extents in iloc box of a HEIC image.</td>
1016 </tr>
1017
1018 <tr>
1019 <td>heic:max-size-entity-group=<var>value</var></td>
1020 <td>Sets the maximum size of an entity group of a HEIC image.</td>
1021 </tr>
1022
1023 <tr>
1024 <td>heic:mmax-children-per-box=<var>value</var></td>
1025 <td>Sets the maximum number of children per box of a HEIC image.</td>
1026 </tr>
1027
1028 <tr>
1029 <td>heic:preserve-orientation=<var>true</var></td>
1030 <td>Preserve the original EXIF orientation during HEIC decoding and rotate
1031 the pixels accordingly. By default, EXIF orientation is reset to "1" to
1032 match the actual orientation of pixels in HEIC.
1033 </td>
1034 </tr>
1035
1036 <tr>
1037 <td>heic:speed=<var>value</var></td>
1038 <td>Set the HEIC speed parameter. Integer value from 0-9. Default is 5.</td>
1039 </tr>
1040
1041 <tr>
1042 <td>icon:auto-resize</td>
1043 <td>Automatically stores multiple sizes when writing an ico image
1044 (requires a 256x256 input image).</td>
1045 </tr>
1046
1047 <tr>
1048 <td>identify:convex-hull=<var>true</var></td>
1049 <td>Display convex hull & minimum bounding box.</td>
1050 </tr>
1051
1052 <tr>
1053 <td>identify:locate=<var>value</var></td>
1054 <td>Display minimum or maximum pixel locations. Valid values are <samp>minimum</samp> or <samp>maximum</samp>. The default is <samp>maximum</samp>.</td>
1055 </tr>
1056
1057 <tr>
1058 <td>identify:limit=<var>value</var></td>
1059 <td>The maximum number of pixel locations to display when using <samp>identify:locate</samp>.</td>
1060 </tr>
1061
1062 <tr>
1063 <td>jp2:layer-number=<var>value</var></td>
1064 <td>Set the maximum number of quality layers to decode. Same for JPT, JC2,
1065 and J2K.</td>
1066 </tr>
1067
1068 <tr>
1069 <td>jp2:number-resolutions=<var>value</var></td>
1070 <td>Set the number of resolutions to encode.Same for JPT, JC2, and
1071 J2K.</td>
1072 </tr>
1073
1074 <tr>
1075 <td>jp2:progression-order=<var>value</var></td>
1076 <td>Choose from LRCP, RLCP, RPCL, PCRL or CPRL. Same for JPT, JC2, and
1077 J2K.</td>
1078 </tr>
1079
1080 <tr>
1081 <td>jp2:quality=<var>value,value...</var></td>
1082 <td>Set the quality layer PSNR, given in dB. The order is from left to
1083 right in ascending order. The default is a single lossless quality layer.
1084 Same for JPT, JC2, and J2K.</td>
1085 </tr>
1086
1087 <tr>
1088 <td>jp2:rate=<var>value</var></td>
1089 <td>Specify the compression factor to use while writing JPEG-2000 files.
1090 The compression factor is the reciprocal of the compression ratio. The
1091 valid range is 0.0 to 1.0, with 1.0 indicating lossless compression. If
1092 defined, this value overrides the -quality setting. A quality setting
1093 of 75 results in a rate value of 0.06641. Same for JPT, JC2, and J2K.</td>
1094 </tr>
1095
1096 <tr>
1097 <td>jp2:reduce-factor=<var>value</var></td>
1098 <td>Set the number of highest resolution levels to be discarded.Same for
1099 JPT, JC2, and J2K.</td>
1100 </tr>
1101
1102 <tr>
1103 <td>jpeg:arithmetic-coding=<var>on|off</var></td>
1104 <td>enable/disable Huffman optimization.</td>
1105 </tr>
1106
1107 <tr>
1108 <td>jpeg:block-smoothing=<var>on|off</var></td>
1109 <td> </td>
1110 </tr>
1111
1112 <tr>
1113 <td>jpeg:colors=<var>value</var></td>
1114 <td>Set the desired number of colors and let the JPEG encoder do the
1115 quantizing.</td>
1116 </tr>
1117
1118 <tr>
1119 <td>jpeg:dct-method=<var>value</var></td>
1120 <td>Choose from <samp>default</samp>, <samp>fastest</samp>,
1121 <samp>float</samp>, <samp>ifast</samp>, and <samp>islow</samp>.</td>
1122 </tr>
1123
1124 <tr>
1125 <td>jpeg:extent=<var>value</var></td>
1126 <td>Restrict the maximum JPEG file size, for example <samp>-define
1127 jpeg:extent=400KB</samp>. The JPEG encoder will search for the highest
1128 compression quality level that results in an output file that does not
1129 exceed the value. The <samp>-quality</samp> option also will be respected
1130 starting with version 6.9.2-5. Between 6.9.1-0 and 6.9.2-4, add -quality
1131 100 in order for the jpeg:extent to work properly. Prior to 6.9.1-0, the
1132 -quality setting was ignored.</td>
1133 </tr>
1134
1135 <tr>
1136 <td>jpeg:fancy-upsampling=<var>on|off</var></td>
1137 <td> </td>
1138 </tr>
1139
1140 <tr>
1141 <td>jpeg:optimize-coding=<var>on|off</var></td>
1142 <td> </td>
1143 </tr>
1144
1145 <tr>
1146 <td>jpeg:q-table=<var>table</var></td>
1147 <td> </td>
1148 </tr>
1149
1150 <tr>
1151 <td>jpeg:restart-interval=<var>value</var></td>
1152 <td>Set the restart interval to `interval` MCU blocks.</td>
1153 </tr>
1154
1155 <tr>
1156 <td>jpeg:sampling-factor=<var>sampling-factor-string</var></td>
1157 <td> </td>
1158 </tr>
1159
1160 <tr>
1161 <td>jpeg:size=<var>geometry</var></td>
1162 <td>Set the size hint of a JPEG image, for
1163 example, <samp>-define jpeg:size=128x128</samp>.
1164 It is most useful for increasing performance and reducing the memory
1165 requirements when reducing the size of a large JPEG image.</td>
1166 </tr>
1167
1168 <tr>
1169 <td>jxl:decoding-speed=<var>value</var></td>
1170 <td>Set the jpeg-xl decoding speed. Valid values are in the range of 0 (slowest) to 4 (fastest, at the cost of some quality/density).</td>
1171 </tr>
1172
1173 <tr>
1174 <td>jxl:effort=<var>value</var></td>
1175 <td>Set the jpeg-xl encoding effort. Valid values are in the range of 3 (falcon) to 9 (tortoise).</td>
1176 </tr>
1177
1178 <tr>
1179 <td>minimum-bounding-box:orientation=<var>value</var></td>
1180 <td>Find smallest perpendicular distance from edge to origin. Valid values are <samp>horizontal</samp>
1181 and <samp>vertical</samp>.
1182 </td>
1183 </tr>
1184
1185 <tr>
1186 <td>mng:need-cacheoff</td>
1187 <td>turn playback caching off for streaming MNG.</td>
1188 </tr>
1189
1190 <tr>
1191 <td>pcl:fit-to-page=<var>true</var></td>
1192 <td> </td>
1193 </tr>
1194
1195 <tr>
1196 <td>pdf:author=<var>author</var></td>
1197 <td>Sets the author of the document</td>
1198 </tr>
1199
1200 <tr>
1201 <td>pdf:create-epoch=<var>seconds</var></td>
1202 <td>Sets the creation time of the document</td>
1203 </tr>
1204
1205 <tr>
1206 <td>pdf:creator=<var>creator</var></td>
1207 <td>Sets the creator of the document</td>
1208 </tr>
1209
1210 <tr>
1211 <td>pdf:fit-page=<var>geometry</var></td>
1212 <td><var>Geometry</var> specifies the scaling dimensions for resizing when the PDF is being read. The geometry is either WxH{%} or page size. No offsets are allowed. (introduced in IM 6.8.8-8)</td>
1213 </tr>
1214
1215 <tr>
1216 <td>pdf:fit-to-page=<var>true</var></td>
1217 <td> </td>
1218 </tr>
1219
1220 <tr>
1221 <td>pdf:hide-annotations=<var>true</var></td>
1222 <td>hide annotations associated with the page Annots key.</td>
1223 </tr>
1224
1225 <tr>
1226 <td>pdf:interpolate=<var>true</var></td>
1227 <td>enable interpolation while rendering</td>
1228 </tr>
1229
1230 <tr>
1231 <td>pdf:keywords=<var>keywords</var></td>
1232 <td>Sets the keywords of the document</td>
1233 </tr>
1234
1235 <tr>
1236 <td>pdf:modify-epoch=<var>seconds</var></td>
1237 <td>Sets the modification time of the document</td>
1238 </tr>
1239
1240 <tr>
1241 <td>pdf:no-identifier=<var>true</var></td>
1242 <td>Do not generate the ID entry</td>
1243 </tr>
1244
1245 <tr>
1246 <td>pdf:page-direction=<var>right-to-left</var></td>
1247 <td> </td>
1248 </tr>
1249
1250 <tr>
1251 <td>pdf:printed=<var>true</var></td>
1252 <td>Determines whether the file should be displayed or printed using the "screen" or "printer" options for annotations and images.</td>
1253 </tr>
1254
1255 <tr>
1256 <td>pdf:producer=<var>producer</var></td>
1257 <td>Sets the producer of the document</td>
1258 </tr>
1259
1260 <tr>
1261 <td>pdf:subject=<var>subject</var></td>
1262 <td>Sets the subject of the document</td>
1263 </tr>
1264
1265 <tr>
1266 <td>pdf:stop-on-error=<var>true</var></td>
1267 <td> </td>
1268 </tr>
1269
1270 <tr>
1271 <td>pdf:thumbnail=<var>false</var></td>
1272 <td>Generate image thumbnails when saving a PDF file.</td>
1273 </tr>
1274
1275 <tr>
1276 <td>pdf:title=<var>title</var></td>
1277 <td>Sets the title of the document</td>
1278 </tr>
1279
1280 <tr>
1281 <td>pdf:use-cropbox=<var>true</var></td>
1282 <td> </td>
1283 </tr>
1284
1285 <tr>
1286 <td>pdf:use-trimbox=<var>true</var></td>
1287 <td> </td>
1288 </tr>
1289
1290 <tr>
1291 <td>png:color-type=<var>value</var></td>
1292 <td>Desired bit-depth and color-type for PNG output. You can force the
1293 PNG encoder to use a different bit-depth and color-type than it would have
1294 normally selected, but only if this does not cause any loss of image
1295 quality. Any attempt to reduce image quality is treated as an error and no
1296 PNG file is written. E.g., if you have a 1-bit black-and-white image, you
1297 can use these "defines" to cause it to be written as an 8-bit grayscale,
1298 indexed, or even a 64-bit RGBA. But if you have a 16-million color image,
1299 you cannot force it to be written as a grayscale or indexed PNG. If you
1300 wish to do this, you must use the appropriate <a href="command-line-options.html#depth">-depth</a>,
1301 <a href="command-line-options.html#colors">-colors</a>, or <a href="command-line-options.html#type">-type</a> directives to
1302 reduce the image quality prior to using the PNG encoder. Note that in
1303 indexed PNG files, "bit-depth" refers to the number of bits per index,
1304 which can be 1, 2, 4, or 8. In such files, the color samples always have
1305 8-bit depth.</td>
1306 </tr>
1307
1308 <tr>
1309 <td>png:compression-filter=<var>value</var></td>
1310 <td>Valid values are 0 through 9. 0-4 are the corresponding PNG filters,
1311 5 means adaptive filtering except for images with a colormap, 6 means
1312 adaptive filtering for all images, 7 means MNG "loco" compression, 8 means
1313 Z_RLE strategy with adaptive filtering, and 9 means Z_RLE strategy with no
1314 filtering.</td>
1315 </tr>
1316
1317 <tr>
1318 <td>png:compression-level=<var>value</var></td>
1319 <td>Valid values are 0 through 9, with 0 providing the least, but fastest
1320 compression and 9 usually providing the best and always the slowest.</td>
1321 </tr>
1322
1323 <tr>
1324 <td>png:compression-strategy=<var>value</var></td>
1325 <td>Valid values are 0 through 4, meaning default, filtered, huffman_only,
1326 rle, and fixed ZLIB compression strategy. If you are using an old zlib
1327 that does not support Z_RLE (before 1.2.0) or Z_FIXED (before 1.2.2.2),
1328 values 3 and 4, respectively, will use the zlib default strategy
1329 instead.</td>
1330 </tr>
1331
1332 <tr>
1333 <td>png:format=<var>value</var></td>
1334 <td> valid values are <var>png8</var>, <var>png24</var>,
1335 <var>png32</var>, <var>png48</var>,
1336 <var>png64</var>, and <var>png00</var>.
1337 This property is useful for specifying
1338 the specific PNG format to be used, when the usual method of prepending the
1339 format name to the output filename is inconvenient, such as when writing
1340 a PNG-encoded ICO file or when using <a href="mogrify.html">mogrify</a>.
1341 Value = <var>png8</var> reduces the number of colors to 256,
1342 only one of which may be fully transparent, if necessary. The other
1343 values do not force any reduction of quality; it is an error to request
1344 a format that cannot represent the image data without loss (except that
1345 it is allowed to reduce the bit-depth from 16 to 8 for all formats).
1346 Value = <var>png24</var> and <var>png48</var>
1347 allow transparency, only if a single color is fully transparent and that
1348 color does not also appear in an opaque pixel; such transparency is
1349 written in a PNG <samp>tRNS</samp> chunk.
1350 Value = <var>png00</var> causes the image to inherit its
1351 color-type and bit-depth from the input image, if the input was also
1352 a PNG.</td>
1353 </tr>
1354
1355 <tr>
1356 <td>png:exclude-chunk=<var>value</var></td>
1357 <td> </td>
1358 </tr>
1359 <tr>
1360 <td>png:include-chunk=<var>value</var></td>
1361 <td>ancillary chunks to be excluded from or included in PNG output.
1362
1363 <p>The <var>value</var> can be the name of a PNG chunk-type such
1364 as <var>bKGD</var>, a comma-separated list of chunk-names
1365 (which can include the word <var>date</var>, the word
1366 <var>all</var>, or the word <var>none</var>).
1367 Although PNG chunk-names are case-dependent, you can use all lowercase
1368 names if you prefer.</p>
1369
1370 <p>The "include-chunk" and "exclude-chunk" lists only affect the behavior
1371 of the PNG encoder and have no effect on the PNG decoder.</p>
1372
1373 <p>As a special case, if the <samp>sRGB</samp> chunk is excluded and
1374 the <samp>gAMA</samp> chunk is included, the <samp>gAMA</samp> chunk will
1375 only be written if gamma is not 1/2.2, since most decoders do not assume
1376 sRGB for gAMA=0.45455 when no colorspace information is included in
1377 the PNG file. Because the list is processed from left to right, you
1378 can achieve this with a single define:</p>
1379
1380 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define png:include-chunk=none,gAMA
1381 </samp></pre>
1382
1383 <p>As a special case, if the <samp>sRGB</samp> chunk is not excluded and
1384 the PNG encoder recognizes that the image contains the sRGB ICC profile,
1385 the PNG encoder will write the <samp>sRGB</samp> chunk instead of the
1386 entire ICC profile. To force the PNG encoder to write the sRGB
1387 profile as an <samp>iCCP</samp> chunk in the output PNG instead of the
1388 <samp>sRGB</samp> chunk, exclude the <samp>sRGB</samp> chunk.</p>
1389
1390 <p>The critical PNG chunks <samp>IHDR</samp>, <samp>PLTE</samp>,
1391 <samp>IDAT</samp>, and <samp>IEND</samp> cannot be excluded. Any such
1392 entries appearing in the list will be ignored.</p>
1393
1394 <p>If the ancillary PNG <samp>tRNS</samp> chunk is excluded and the
1395 image has transparency, the PNG colortype is forced to be 4 or 6
1396 (GRAY_ALPHA or RGBA). If the image is not transparent, then the
1397 <samp>tRNS</samp> chunk isn't written anyhow, and there is no effect
1398 on the PNG colortype of the output image.</p>
1399
1400 <p>The <a href="command-line-options.html#strip">-strip</a>
1401 option does the equivalent of the following for PNG output:</p>
1402
1403 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define png:exclude-chunk=EXIF,iCCP,iTXt,sRGB,tEXt,zCCP,zTXt,date</samp></pre>
1404
1405 <p>The default behavior is to include all known PNG ancillary chunks
1406 plus ImageMagick's private <samp>vpAg</samp> ("virtual page") chunk,
1407 and to exclude all PNG chunks that are unknown to ImageMagick,
1408 regardless of their PNG "copy-safe" status as described in the
1409 PNG specification.</p>
1410
1411 <p>Any chunk names that are not known to ImageMagick are ignored
1412 if they appear in either the "include-chunk" or "exclude-chunk" list.
1413 The ancillary chunks currently known to ImageMagick are
1414 <samp>bKGD</samp>, <samp>cHRM</samp>, <samp>gAMA</samp>, <samp>iCCP</samp>,
1415 <samp>oFFs</samp>, <samp>orNT</samp>, <samp>pHYs</samp>, <samp>sRGB</samp>, <samp>tEXt</samp>,
1416 <samp>tRNS</samp>, <samp>vpAg</samp>, and <samp>zTXt</samp>.</p>
1417
1418 <p>You can also put <samp>date</samp> in the list to include or exclude
1419 the "Date:create" and "Date:modify" text chunks that ImageMagick normally
1420 inserts in the output PNG.</p></td>
1421 </tr>
1422
1423 <tr>
1424 <td>png:ignore-crc[=<var>true</var>]</td>
1425 <td>When you know your image has no CRC or ADLER32 errors, this can speed
1426 up decoding. It is also helpful in debugging bug reports from "fuzzers".</td>
1427 </tr>
1428
1429 <tr>
1430 <td>png:preserve-colormap[=<var>true</var>]</td>
1431 <td>Use the existing image->colormap. Normally the PNG encoder will
1432 try to optimize the palette, eliminating unused entries and putting
1433 the transparent colors first. If this flag is set, that behavior
1434 is suppressed.</td>
1435 </tr>
1436
1437 <tr>
1438 <td>png:preserve-iCCP[=<var>true</var>]</td>
1439 <td>By default, the PNG decoder and encoder examine any ICC profile
1440 that is present, either from an <samp>iCCP</samp> chunk in the PNG
1441 input or supplied via an option, and if the profile is recognized
1442 to be the sRGB profile, converts it to the <samp>sRGB</samp> chunk.
1443 You can use <samp>-define png:preserve-iCCP</samp> to prevent
1444 this from happening; in such cases the <samp>iCCP</samp> chunk
1445 will be read or written and no <samp>sRGB</samp> chunk will be
1446 written. There are some ICC profiles that claim to be sRGB but
1447 have various errors that cause them to be rejected by libpng16; such
1448 profiles are recognized anyhow and converted to the <samp>sRGB</samp>
1449 chunk, but are rejected if the <samp>-define png:preserve-iCCP</samp>
1450 is present. Note that not all "sRGB" ICC profiles are recognized
1451 yet; we will add them to the list as we encounter them.</td>
1452 </tr>
1453
1454 <tr>
1455 <td>png:swap-bytes[=<var>true</var>]</td>
1456 <td>The PNG specification requires that any multi-byte integers be stored
1457 in network byte order (MSB-LSB endian). This option allows you to
1458 fix any invalid PNG files that have 16-bit samples stored incorrectly
1459 in little-endian order (LSB-MSB). The "-define png:swap-bytes" option
1460 must appear before the input filename on the commandline. The swapping
1461 is done during the libpng decoding operation.</td>
1462 </tr>
1463
1464 <tr>
1465 <td>ps:imagemask</td>
1466 <td>If the ps:imagemask flag is defined, the PS3 and EPS3 coders will
1467 create Postscript files that render bilevel images with the Postscript
1468 imagemask operator instead of the image operator.</td>
1469 </tr>
1470
1471 <tr>
1472 <td>psd:additional-info=all|selective</td>
1473 <td>This option should only be used when converting from a PSD file to
1474 another PSD file. This should be placed after the image is read. The two
1475 options are 'all' and 'selective'. The 'selective' option will preserve
1476 all additional information that is not related to the geometry of the
1477 image. The 'all' option should only be used when the geometry of the
1478 image has not been changed. This option is helpful when transferring
1479 non-simple layers, such as adjustment layers from the input PSD file to
1480 the output PSD file. If this option is not used, the additional
1481 information will not be preserved. This define is available as of
1482 Imagemagick version 6.9.5-8.
1483 </td>
1484 </tr>
1485
1486 <tr>
1487 <td>psd:alpha-unblend=off</td>
1488 <td>Disable new automatic un-blending of transparency with the base image
1489 for the flattened layer 0 before adding the alpha channel to the output
1490 image. This define must be placed before the input psd image. (Available
1491 as of IM 6.9.2.5). The automatic un-blending is new to IM 6.9.2.5 and
1492 prevents the transparency from being applied twice in the output
1493 image. This option should be set before reading the image.</td>
1494 </tr>
1495
1496 <tr>
1497 <td>psd:preserve-opacity-mask=<var>true</var></td>
1498 <td>This option should only be used when converting from a PSD file to
1499 another PSD file. It will preserve the opacity mask of a layer and add it
1500 back to the layer when the image is saved. Setting this to 'true' will
1501 enable this feature. This define is available as of Imagemagick version
1502 6.9.5-10.
1503 </td>
1504 </tr>
1505
1506 <tr>
1507 <td>psd:write-layers=<var>false</var></td>
1508 <td>This option can be used to disable writing the layers of a PSD file.
1509 </td>
1510 </tr>
1511
1512 <tr>
1513 <td>psd:replicate-profile=<var>true</var></td>
1514 <td>This option can be used to copy the image profile to all the images
1515 instead of only the first image that is returned.
1516 </td>
1517 </tr>
1518
1519 <tr>
1520 <td>ptif:pyramid=<var>min-base</var>x<var>levels</var></td>
1521 <td>Specify the min-base and number of levels of the pyramid, e.g., 64x4.</td>
1522 </tr>
1523
1524 <tr>
1525 <td>svg:embedding=<var>true</var></td>
1526 <td>Enable embedding of a another SVG for which you trust the source. This is disabled by default as it can be a source of infinite recusion.</td>
1527 </tr>
1528
1529 <tr>
1530 <td>svg:parse-huge=<var>true</var></td>
1531 <td>Enable rendering of a very large SVG for which you trust the source.</td>
1532 </tr>
1533
1534 <tr>
1535 <td>svg:substitute-entities=<var>true</var></td>
1536 <td>Enable entity substitution if you trust the source.</td>
1537 </tr>
1538
1539 <tr>
1540 <td>tga:preserve-orientation=<var>true</var></td>
1541 <td>Preserve the image orientation.</td>
1542 </tr>
1543
1544 <tr>
1545 <td>tga:write-footer=<var>true</var></td>
1546 <td>Enable writing of an empty optional footer.</td>
1547 </tr>
1548
1549 <tr>
1550 <td>tiff:alpha=<var>associated|unassociated|unspecified</var></td>
1551 <td>Specify the alpha extra samples as associated, unassociated or
1552 unspecified.</td>
1553 </tr>
1554
1555 <tr>
1556 <td>tiff:assume-alpha=<var>true|false</var></td>
1557 <td>Assume undeclared extra channels are alpha.</td>
1558 </tr>
1559
1560 <tr>
1561 <td>tiff:endian=<var>msb|lsb</var></td>
1562 <td> </td>
1563 </tr>
1564
1565 <tr>
1566 <td>tiff:exif-properties=<var>false</var></td>
1567 <td>Disable reading the EXIF properties.</td>
1568 </tr>
1569
1570 <tr>
1571 <td>tiff:fill-order=<var>msb|lsb</var></td>
1572 <td> </td>
1573 </tr>
1574
1575 <tr>
1576 <td>tiff:peg-tables-mode=<var>0-3</var></td>
1577 <td>Set the TIFFTAG_JPEGTABLESMODE when the tiff file is written with
1578 jpeg compression</td>
1579 </tr>
1580
1581 <tr>
1582 <td>tiff:gps-properties=<var>false</var></td>
1583 <td>Disable reading the GPS properties.</td>
1584 </tr>
1585
1586 <tr>
1587 <td>tiff:ignore-layers=<var>true</var></td>
1588 <td>Ignore the Photoshop layers.</td>
1589 </tr>
1590
1591 <tr>
1592 <td>tiff:ignore-tags=<var>comma-separate-list-of-tag-IDs</var></td>
1593 <td>Allow one or more tag ID values to be ignored.</td>
1594 </tr>
1595
1596 <tr>
1597 <td>tiff:predictor=<var>[1, 2 or 3]</var></td>
1598 <td>A mathematical operator that is applied to the image data before an
1599 encoding scheme is applied. The general idea is that subsequent pixels of
1600 an image resemble each other. Thus, substracting the information from a
1601 pixel that is already contained in previous one is likely to reduce its
1602 information density considerably and aid subsequent compression.
1603 1 = No prediction scheme used before coding. 2 = Horizontal differencing.
1604 3 = Floating point horizontal differencing.</td>
1605 </tr>
1606
1607 <tr>
1608 <td>tiff:preserve-compression=<var>true</var></td>
1609 <td>Preserve compression of the source image.</td>
1610 </tr>
1611
1612 <tr>
1613 <td>tiff:rows-per-strip=<var>value</var></td>
1614 <td>Set the number of rows per strip.</td>
1615 </tr>
1616
1617 <tr>
1618 <td>tiff:tile-geometry=<var>WxH</var></td>
1619 <td>Set the tile size for pyramid tiffs. Requires the suffix
1620 PTIF: before the outputname.</td>
1621 </tr>
1622
1623 <tr>
1624 <td>uhdr:gainmap-gamma=<var>value</var></td>
1625 <td>Set gainmap image encoding gamma. Must be greater than 0.0. Used during
1626 encoding. Optional. Default value is 1.0.</td>
1627 </tr>
1628
1629 <tr>
1630 <td>uhdr:gainmap-quality=<var>value</var></td>
1631 <td>Set gainmap image encoding quality factor. The valid range is 1 to 100,
1632 with 1 indicating lowest image quality or highest compression and 100
1633 indicating best quality or least effective compression. Used during
1634 encoding. Optional. Default value is 95.</td>
1635 </tr>
1636
1637 <tr>
1638 <td>uhdr:gainmap-max-content-boost=<var>value</var></td>
1639 <td>Specify the maximum allowed ratio of the linear luminance for the target
1640 HDR rendition relative to (divided by) that of the SDR image, at a given
1641 pixel. In other words, this specifies how much brighter a pixel can get,
1642 when shown on an HDR display, relative to the SDR rendition. Must be
1643 greater than 0.0. Used during encoding. Optional. If not configured,
1644 this is computed dynamically based on the input.</td>
1645 </tr>
1646
1647 <tr>
1648 <td>uhdr:gainmap-min-content-boost=<var>value</var></td>
1649 <td>Specify the minimum allowed ratio of the linear luminance for the target
1650 HDR rendition relative to (divided by) that of the SDR image, at a given
1651 pixel. In other words, this specifies how much darker a pixel can get,
1652 when shown on an HDR display, relative to the SDR rendition. Must be
1653 greater than 0.0. Used during encoding. Optional. If not configured,
1654 this is computed dynamically based on the input.</td>
1655 </tr>
1656
1657 <tr>
1658 <td>uhdr:hdr-color-gamut=<var>{bt709|display_p3|bt2100}</var></td>
1659 <td>Set input HDR intent color gamut. Used during encoding. Required.</td>
1660 </tr>
1661
1662 <tr>
1663 <td>uhdr:hdr-color-transfer=<var>{hlg|pq|linear}</var></td>
1664 <td>Set input HDR intent color transfer. Used during encoding. Required.</td>
1665 </tr>
1666
1667 <tr>
1668 <td>uhdr:output-color-transfer=<var>{hlg|pq|linear|srgb}</var></td>
1669 <td>Set the target display transfer characteristics on which the
1670 ultrahdr image is rendered. Used during decoding. Required.
1671 If <em>srgb</em>, only sdr intent is decoded and sent as output,
1672 otherwise, sdr intent and gainmap are decoded, combined into
1673 hdr image and sent as output.</td>
1674 </tr>
1675
1676 <tr>
1677 <td>uhdr:sdr-color-gamut=<var>{bt709|display_p3|bt2100}</var></td>
1678 <td>Set input SDR intent color gamut. Used during encoding. Required.</td>
1679 </tr>
1680
1681 <tr>
1682 <td>uhdr:uhdr:target-display-peak-brightness=<var>value</var></td>
1683 <td>Peak brightness refers to the maximum brightness level that a display can achieve. This is important for accurately representing bright highlights in HDR content.</td>
1684 </tr>
1685
1686 <tr>
1687 <td>video:intermediate-format=<var>{pam,webp}</var></td>
1688 <td>Set the video intermediate format option of <samp>ffmpeg</samp>.</td>
1689 </tr>
1690
1691 <tr>
1692 <td>video:pixel-format=<var>value</var></td>
1693 <td>Set the pixel format option of <samp>ffmpeg</samp>.</td>
1694 </tr>
1695
1696 <tr>
1697 <td>video:vsync=<var>value</var></td>
1698 <td>Set the vsync option of <samp>ffmpeg</samp>.</td>
1699 </tr>
1700
1701 <tr>
1702 <td colspan="2"><p></p></td>
1703 </tr>
1704
1705 <tr>
1706 <td colspan="2"><p></p></td>
1707 </tr>
1708
1709 <tr>
1710 <th align="center" colspan="2">PSEUDO-IMAGE FORMATS</th>
1711 </tr>
1712
1713 <tr>
1714 <td>caption:max-pointsize=<var>pointsize</var></td>
1715 <td>Limit the maximum point size</td>
1716 </tr>
1717
1718 <tr>
1719 <td>caption:split=<var>boolean</var></td>
1720 <td>split text if required to fit caption on canvas</td>
1721 </tr>
1722
1723 <tr>
1724 <td>gradient:angle=<var>angle (in degrees)</var></td>
1725 <td>For a linear gradient, this specifies the direction of
1726 the gradient going from color1 to color2 in a clockwise
1727 positive manner relative to north (up). For a radial
1728 gradient, this specifies the rotation of the gradient in a
1729 clockwise positive manner from its normal X-Y orientation.
1730 Supported in Imagemagick 6.9.2-5.</td>
1731 </tr>
1732 <tr>
1733 <td>gradient:bounding-box=<var>WxH+X+Y</var></td>
1734 <td>Limit the gradient to a larger or smaller region than
1735 the image dimensions. If the region defined by the bounding
1736 box is smaller than the image, then color1 will be the color
1737 of the background.
1738 Supported in Imagemagick 6.9.2-5.</td>
1739 </tr>
1740
1741 <tr>
1742 <td>gradient:center=<var>x,y</var></td>
1743 <td>Specify the coordinates of the center point for the
1744 radial gradient. The default is the center of the image.
1745 Supported in Imagemagick 6.9.2-5.</td>
1746 </tr>
1747
1748 <tr>
1749 <td>gradient:direction=<var>value</var></td>
1750 <td>Specify the direction of the linear gradient towards
1751 the top/bottom/left/right or diagonal corners. The choices are:
1752 NorthWest, North, Northeast, West, East, SouthWest, South, SouthEast.
1753 Supported in Imagemagick 6.9.2-5.</td>
1754 </tr>
1755
1756 <tr>
1757 <td>gradient:extent=<var>value</var></td>
1758 <td>Specify the shape of an image centered radial gradient.
1759 The choices are: Circle, Diagonal, Ellipse, Maximum, Minimum.
1760 Circle and Maximum draw a circular radial gradient even for
1761 rectangular shaped images of radius equal to the larger of
1762 the half-width and half-height of the image. The Circle and
1763 Maximum options are both equivalent to the default radial
1764 gradient. The Minimum option draws a circular radial gradient
1765 even for rectangular shaped images of radius equal to the
1766 smaller of the half-width and half-height of the image.
1767 The Diagonal option draws a circular radial gradient even
1768 for rectangular shaped images of radius equal to the
1769 half-diagonal of the image. The Ellipse options draws an
1770 elliptical radial gradient for rectangular shaped images of
1771 radii equal to half the width and half the height of the image.
1772 Supported in Imagemagick 6.9.2-5.</td>
1773 </tr>
1774
1775 <tr>
1776 <td>gradient:radii=<var>x,y</var></td>
1777 <td>Specify the x and y radii of the gradient. If the
1778 x radius and the y radius are equal, the shape of the
1779 radial gradient will be a circle. If they differ, then
1780 the shape will be an ellipse. The default values are the
1781 maximum of the half width and half height of the image.
1782 Supported in Imagemagick 6.9.2-5.</td>
1783 </tr>
1784
1785 <tr>
1786 <td>gradient:vector=<var>x1,y1,x2,y2</var></td>
1787 <td>Specify the direction of the linear gradient going from
1788 vector1 (x1,y1) to vector2 (x2,y2). Color1 (fromColor) will be
1789 located at vector position x1,y1 and color2 (toColor) will be
1790 located at vector position x2,y2.
1791 Supported in Imagemagick 6.9.2-5.</td>
1792 </tr>
1793
1794 <tr>
1795 <td>histogram:unique-colors=<var>false</var></td>
1796 <td>Suppress the textual listing of the image's unique colors.</td>
1797 </tr>
1798
1799 <tr>
1800 <td>pango:align=<var>left|center|right</var></td>
1801 <td></td>
1802 </tr>
1803
1804 <tr>
1805 <td>pango:auto-dir=<var>true|false</var></td>
1806 <td></td>
1807 </tr>
1808
1809 <tr>
1810 <td>pango:ellipsize=<var>start|middle|end</var></td>
1811 <td></td>
1812 </tr>
1813
1814 <tr>
1815 <td>pango:gravity-hint=<var>natural|strong|line</var></td>
1816 <td></td>
1817 </tr>
1818
1819 <tr>
1820 <td>pango:hinting=<var>none|auto|full</var></td>
1821 <td></td>
1822 </tr>
1823
1824 <tr>
1825 <td>pango:indent=<var>points</var></td>
1826 <td></td>
1827 </tr>
1828
1829 <tr>
1830 <td>pango:justify=<var>true|false</var></td>
1831 <td></td>
1832 </tr>
1833
1834 <tr>
1835 <td>pango:language=<var>en_US|others</var></td>
1836 <td></td>
1837 </tr>
1838
1839 <tr>
1840 <td>pango:markup=<var>true|false</var></td>
1841 <td></td>
1842 </tr>
1843
1844 <tr>
1845 <td>pango:single-paragraph=<var>true|false</var></td>
1846 <td></td>
1847 </tr>
1848
1849 <tr>
1850 <td>pango:wrap=<var>word|char|word-char</var></td>
1851 <td></td>
1852 </tr>
1853
1854 <tr>
1855 <td>pixel:compliance=<var>value</var></td>
1856 <td>Set the "pixel:" output format according to several standards.
1857 The choices are SVG, None, Undefined, MVG, X11, XPM. The default
1858 list values for (s)RGB colors in the form of (s)rgb(r,g,b) or
1859 (s)rgba(r,g,b,a). Color names will no longer be presented. For sRGB or
1860 RGB colors, the SVG, X11, XPM and None options lists color names,
1861 if they exist. The MVG and Undefined options list hex values. When
1862 colors are presented or converted to hue-based colorspaces, the values
1863 listed will be integers for hue and percents for the other two components.
1864 For other colorspaces, values may be listed as either percents or
1865 fractional value. Setting the depth to 8 will limit values to the 8-bit
1866 range, except for hue-based colors.</td>
1867 </tr>
1868
1869 <tr>
1870 <td>txt:compliance=<var>value</var></td>
1871 <td>Set the "txt:" format for the values in parentheses according to
1872 several standards. The choices are svg, none, undefined, mvg, x11, xpm.
1873 The default will list values for (s)RGB colors in the quantum range.
1874 The SVG, X11, XPM, MVG and None options lists values in the 8-bit range
1875 for all Q-level compiles. The undefined option also lists values in the
1876 quantum range. When colors are presented or converted to hue-based
1877 colorspaces, the values listed will be integers for hue and percents for
1878 the other two components. For other colorspaces, values may be listed as
1879 either percents or fractional value. Setting the depth to 8 will limit
1880 values to the 8-bit range, except for hue-based colors.</td>
1881 </tr>
1882
1883 <tr>
1884 <td>webp:<var>tag</var>=<var>value</var></td>
1885 <td>WebP has a plethora of defines detailed on this <a href="../www/webp.html">page</a>.</td>
1886 </tr>
1887
1888 <tr>
1889 <td>xmp:validate=<var>{true,false}</var></td>
1890 <td>By default, ImageMagick validates any XMP profile embedded in an image.</td>
1891 </tr>
1892
1893 <tr>
1894 <td colspan="2"><p></p></td>
1895 </tr>
1896
1897 <tr>
1898 <td colspan="2"><p></p></td>
1899 </tr>
1900
1901 <tr>
1902 <th align="center" colspan="2">Identify Defines</th>
1903 </tr>
1904
1905 <tr>
1906 <td colspan="2"><p></p></td>
1907 </tr>
1908
1909 <tr>
1910 <td>identify:locate=<var>minimum|maximum</var></td>
1911 <td>Locate the coordinates of one or more image minimum or maximum.</td>
1912 </tr>
1913
1914 <tr>
1915 <td>identify:limit=<var>number</var></td>
1916 <td>Locate the coordinates for the number of minima or maxima specified.</td>
1917 </tr>
1918
1919 </table>
1920
1921 </div>
1922 </div>
1923 </main><!-- /.container -->
1924 <footer class="text-center pt-5 my-5 text-body-secondary border-top">
1925 <div class="container-fluid">
1926 <a href="security-policy.html">Security</a> •
1927 <a href="../www/news.html">News</a>
1928
1929 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico"/></a>
1930
1931 <a href="../www/links.html">Related</a> •
1932 <a href="../www/sitemap.html">Sitemap</a>
1933 <br/>
1934 <a href="../www/support.html">Sponsor</a> •
1935 <a href="cite.html">Cite</a> •
1936 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
1937 <a href="../www/../www/../www/https://imagemagick.org/script/contact.php">Contact Us</a>
1938 <br/>
1939 <a href="https://github.com/imagemagick/imagemagick" rel="noopener" target="_blank" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
1940 <a href="https://twitter.com/imagemagick" rel="noopener" target="_blank" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 300 300" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg></a>
1941 <br/>
1942 <small>Copyright © 1999 ImageMagick Studio LLC</small>
1943 </div>
1944 </footer>
1945 </div>
1946
1947 <!-- Javascript assets -->
1948 <script src="assets/bootstrap.bundle.min.js" ></script>
1949 </body>
1950 </html>
1951 <!-- Magick Cache 27th July 2025 09:38 -->