Debian Codegraph @

www/defines.html

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