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".</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. See ISO/IEC 14496-12:2022 standard for a description of these fields and values.</td>
982 </tr>
983
984 <tr>
985 <td>heic:depth-image=<var>true</var></td>
986 <td>Extract the depth image if the container has one.</td>
987 </tr>
988
989 <tr>
990 <td>heic:max-number-of-tiles=<var>value</var></td>
991 <td>Sets the maximum number of tiles of a HEIC image.</td>
992 </tr>
993
994 <tr>
995 <td>heic:max-bayer-pattern-pixels=<var>value</var></td>
996 <td>Sets the maximum bayer pattern size in pixels of a HEIC image.</td>
997 </tr>
998
999 <tr>
1000 <td>heic:max-items=<var>value</var></td>
1001 <td>Sets the maximum number of items in a box of a HEIC image.</td>
1002 </tr>
1003
1004 <tr>
1005 <td>heic:max-components=<var>value</var></td>
1006 <td>Sets the maximum number of components of a HEIC image.</td>
1007 </tr>
1008
1009 <tr>
1010 <td>heic:max-iloc-extents-per-item=<var>value</var></td>
1011 <td>Sets the maximum number of extents in iloc box of a HEIC image.</td>
1012 </tr>
1013
1014 <tr>
1015 <td>heic:max-size-entity-group=<var>value</var></td>
1016 <td>Sets the maximum size of an entity group of a HEIC image.</td>
1017 </tr>
1018
1019 <tr>
1020 <td>heic:mmax-children-per-box=<var>value</var></td>
1021 <td>Sets the maximum number of children per box of a HEIC image.</td>
1022 </tr>
1023
1024 <tr>
1025 <td>heic:preserve-orientation=<var>true</var></td>
1026 <td>Preserve the original EXIF orientation during HEIC decoding and rotate
1027 the pixels accordingly. By default, EXIF orientation is reset to "1" to
1028 match the actual orientation of pixels in HEIC.
1029 </td>
1030 </tr>
1031
1032 <tr>
1033 <td>heic:speed=<var>value</var></td>
1034 <td>Set the HEIC speed parameter. Integer value from 0-9. Default is 5.</td>
1035 </tr>
1036
1037 <tr>
1038 <td>icon:auto-resize</td>
1039 <td>Automatically stores multiple sizes when writing an ico image
1040 (requires a 256x256 input image).</td>
1041 </tr>
1042
1043 <tr>
1044 <td>identify:convex-hull=<var>true</var></td>
•1045 <td>Display convex hull &amp; minimum bounding box.</td>
1046 </tr>
1047
1048 <tr>
1049 <td>identify:locate=<var>value</var></td>
1050 <td>Display minimum or maximum pixel locations. Valid values are <samp>minimum</samp> or <samp>maximum</samp>. The default is <samp>maximum</samp>.</td>
1051 </tr>
1052
1053 <tr>
1054 <td>identify:limit=<var>value</var></td>
1055 <td>The maximum number of pixel locations to display when using <samp>identify:locate</samp>.</td>
1056 </tr>
1057
1058 <tr>
1059 <td>jp2:layer-number=<var>value</var></td>
1060 <td>Set the maximum number of quality layers to decode. Same for JPT, JC2,
1061 and J2K.</td>
1062 </tr>
1063
1064 <tr>
1065 <td>jp2:number-resolutions=<var>value</var></td>
1066 <td>Set the number of resolutions to encode.Same for JPT, JC2, and
1067 J2K.</td>
1068 </tr>
1069
1070 <tr>
1071 <td>jp2:progression-order=<var>value</var></td>
1072 <td>Choose from LRCP, RLCP, RPCL, PCRL or CPRL. Same for JPT, JC2, and
1073 J2K.</td>
1074 </tr>
1075
1076 <tr>
1077 <td>jp2:quality=<var>value,value...</var></td>
1078 <td>Set the quality layer PSNR, given in dB. The order is from left to
1079 right in ascending order. The default is a single lossless quality layer.
1080 Same for JPT, JC2, and J2K.</td>
1081 </tr>
1082
1083 <tr>
1084 <td>jp2:rate=<var>value</var></td>
1085 <td>Specify the compression factor to use while writing JPEG-2000 files.
1086 The compression factor is the reciprocal of the compression ratio. The
1087 valid range is 0.0 to 1.0, with 1.0 indicating lossless compression. If
1088 defined, this value overrides the -quality setting. A quality setting
1089 of 75 results in a rate value of 0.06641. Same for JPT, JC2, and J2K.</td>
1090 </tr>
1091
1092 <tr>
1093 <td>jp2:reduce-factor=<var>value</var></td>
1094 <td>Set the number of highest resolution levels to be discarded.Same for
1095 JPT, JC2, and J2K.</td>
1096 </tr>
1097
1098 <tr>
1099 <td>jpeg:arithmetic-coding=<var>on|off</var></td>
1100 <td>enable/disable Huffman optimization.</td>
1101 </tr>
1102
1103 <tr>
1104 <td>jpeg:block-smoothing=<var>on|off</var></td>
1105 <td> </td>
1106 </tr>
1107
1108 <tr>
1109 <td>jpeg:colors=<var>value</var></td>
1110 <td>Set the desired number of colors and let the JPEG encoder do the
1111 quantizing.</td>
1112 </tr>
1113
1114 <tr>
1115 <td>jpeg:dct-method=<var>value</var></td>
1116 <td>Choose from <samp>default</samp>, <samp>fastest</samp>,
1117 <samp>float</samp>, <samp>ifast</samp>, and <samp>islow</samp>.</td>
1118 </tr>
1119
1120 <tr>
1121 <td>jpeg:extent=<var>value</var></td>
1122 <td>Restrict the maximum JPEG file size, for example <samp>-define
1123 jpeg:extent=400KB</samp>. The JPEG encoder will search for the highest
1124 compression quality level that results in an output file that does not
1125 exceed the value. The <samp>-quality</samp> option also will be respected
1126 starting with version 6.9.2-5. Between 6.9.1-0 and 6.9.2-4, add -quality
1127 100 in order for the jpeg:extent to work properly. Prior to 6.9.1-0, the
1128 -quality setting was ignored.</td>
1129 </tr>
1130
1131 <tr>
1132 <td>jpeg:fancy-upsampling=<var>on|off</var></td>
1133 <td> </td>
1134 </tr>
1135
1136 <tr>
1137 <td>jpeg:optimize-coding=<var>on|off</var></td>
1138 <td> </td>
1139 </tr>
1140
1141 <tr>
1142 <td>jpeg:q-table=<var>table</var></td>
1143 <td> </td>
1144 </tr>
1145
1146 <tr>
1147 <td>jpeg:restart-interval=<var>value</var></td>
1148 <td>Set the restart interval to `interval` MCU blocks.</td>
1149 </tr>
1150
1151 <tr>
1152 <td>jpeg:sampling-factor=<var>sampling-factor-string</var></td>
1153 <td> </td>
1154 </tr>
1155
1156 <tr>
1157 <td>jpeg:size=<var>geometry</var></td>
1158 <td>Set the size hint of a JPEG image, for
1159 example, <samp>-define jpeg:size=128x128</samp>.
1160 It is most useful for increasing performance and reducing the memory
1161 requirements when reducing the size of a large JPEG image.</td>
1162 </tr>
1163
1164 <tr>
1165 <td>jxl:decoding-speed=<var>value</var></td>
1166 <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>
1167 </tr>
1168
1169 <tr>
1170 <td>jxl:effort=<var>value</var></td>
1171 <td>Set the jpeg-xl encoding effort. Valid values are in the range of 3 (falcon) to 9 (tortoise).</td>
1172 </tr>
1173
1174 <tr>
1175 <td>minimum-bounding-box:orientation=<var>value</var></td>
1176 <td>Find smallest perpendicular distance from edge to origin. Valid values are <samp>horizontal</samp>
1177 and <samp>vertical</samp>.
1178 </td>
1179 </tr>
1180
1181 <tr>
1182 <td>mng:need-cacheoff</td>
1183 <td>turn playback caching off for streaming MNG.</td>
1184 </tr>
1185
1186 <tr>
1187 <td>pcl:fit-to-page=<var>true</var></td>
1188 <td> </td>
1189 </tr>
1190
1191 <tr>
1192 <td>pdf:author=<var>author</var></td>
1193 <td>Sets the author of the document</td>
1194 </tr>
1195
1196 <tr>
1197 <td>pdf:create-epoch=<var>seconds</var></td>
1198 <td>Sets the creation time of the document</td>
1199 </tr>
1200
1201 <tr>
1202 <td>pdf:creator=<var>creator</var></td>
1203 <td>Sets the creator of the document</td>
1204 </tr>
1205
1206 <tr>
1207 <td>pdf:fit-page=<var>geometry</var></td>
1208 <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>
1209 </tr>
1210
1211 <tr>
1212 <td>pdf:fit-to-page=<var>true</var></td>
1213 <td> </td>
1214 </tr>
1215
1216 <tr>
1217 <td>pdf:hide-annotations=<var>true</var></td>
1218 <td>hide annotations associated with the page Annots key.</td>
1219 </tr>
1220
1221 <tr>
1222 <td>pdf:interpolate=<var>true</var></td>
1223 <td>enable interpolation while rendering</td>
1224 </tr>
1225
1226 <tr>
1227 <td>pdf:keywords=<var>keywords</var></td>
1228 <td>Sets the keywords of the document</td>
1229 </tr>
1230
1231 <tr>
1232 <td>pdf:modify-epoch=<var>seconds</var></td>
1233 <td>Sets the modification time of the document</td>
1234 </tr>
1235
1236 <tr>
1237 <td>pdf:no-identifier=<var>true</var></td>
1238 <td>Do not generate the ID entry</td>
1239 </tr>
1240
1241 <tr>
1242 <td>pdf:page-direction=<var>right-to-left</var></td>
1243 <td> </td>
1244 </tr>
1245
1246 <tr>
1247 <td>pdf:printed=<var>true</var></td>
1248 <td>Determines whether the file should be displayed or printed using the "screen" or "printer" options for annotations and images.</td>
1249 </tr>
1250
1251 <tr>
1252 <td>pdf:producer=<var>producer</var></td>
1253 <td>Sets the producer of the document</td>
1254 </tr>
1255
1256 <tr>
1257 <td>pdf:subject=<var>subject</var></td>
1258 <td>Sets the subject of the document</td>
1259 </tr>
1260
1261 <tr>
1262 <td>pdf:stop-on-error=<var>true</var></td>
1263 <td> </td>
1264 </tr>
1265
1266 <tr>
1267 <td>pdf:thumbnail=<var>false</var></td>
1268 <td>Generate image thumbnails when saving a PDF file.</td>
1269 </tr>
1270
1271 <tr>
1272 <td>pdf:title=<var>title</var></td>
1273 <td>Sets the title of the document</td>
1274 </tr>
1275
1276 <tr>
1277 <td>pdf:use-cropbox=<var>true</var></td>
1278 <td> </td>
1279 </tr>
1280
1281 <tr>
1282 <td>pdf:use-trimbox=<var>true</var></td>
1283 <td> </td>
1284 </tr>
1285
1286 <tr>
1287 <td>png:color-type=<var>value</var></td>
1288 <td>Desired bit-depth and color-type for PNG output. You can force the
1289 PNG encoder to use a different bit-depth and color-type than it would have
1290 normally selected, but only if this does not cause any loss of image
1291 quality. Any attempt to reduce image quality is treated as an error and no
1292 PNG file is written. E.g., if you have a 1-bit black-and-white image, you
1293 can use these "defines" to cause it to be written as an 8-bit grayscale,
1294 indexed, or even a 64-bit RGBA. But if you have a 16-million color image,
1295 you cannot force it to be written as a grayscale or indexed PNG. If you
1296 wish to do this, you must use the appropriate <a href="command-line-options.html#depth">-depth</a>,
1297 <a href="command-line-options.html#colors">-colors</a>, or <a href="command-line-options.html#type">-type</a> directives to
1298 reduce the image quality prior to using the PNG encoder. Note that in
1299 indexed PNG files, "bit-depth" refers to the number of bits per index,
1300 which can be 1, 2, 4, or 8. In such files, the color samples always have
1301 8-bit depth.</td>
1302 </tr>
1303
1304 <tr>
1305 <td>png:compression-filter=<var>value</var></td>
1306 <td>Valid values are 0 through 9. 0-4 are the corresponding PNG filters,
1307 5 means adaptive filtering except for images with a colormap, 6 means
1308 adaptive filtering for all images, 7 means MNG "loco" compression, 8 means
1309 Z_RLE strategy with adaptive filtering, and 9 means Z_RLE strategy with no
1310 filtering.</td>
1311 </tr>
1312
1313 <tr>
1314 <td>png:compression-level=<var>value</var></td>
1315 <td>Valid values are 0 through 9, with 0 providing the least, but fastest
1316 compression and 9 usually providing the best and always the slowest.</td>
1317 </tr>
1318
1319 <tr>
1320 <td>png:compression-strategy=<var>value</var></td>
1321 <td>Valid values are 0 through 4, meaning default, filtered, huffman_only,
1322 rle, and fixed ZLIB compression strategy. If you are using an old zlib
1323 that does not support Z_RLE (before 1.2.0) or Z_FIXED (before 1.2.2.2),
1324 values 3 and 4, respectively, will use the zlib default strategy
1325 instead.</td>
1326 </tr>
1327
1328 <tr>
1329 <td>png:format=<var>value</var></td>
1330 <td> valid values are <var>png8</var>, <var>png24</var>,
1331 <var>png32</var>, <var>png48</var>,
1332 <var>png64</var>, and <var>png00</var>.
1333 This property is useful for specifying
1334 the specific PNG format to be used, when the usual method of prepending the
1335 format name to the output filename is inconvenient, such as when writing
1336 a PNG-encoded ICO file or when using <a href="mogrify.html">mogrify</a>.
1337 Value = <var>png8</var> reduces the number of colors to 256,
1338 only one of which may be fully transparent, if necessary. The other
1339 values do not force any reduction of quality; it is an error to request
1340 a format that cannot represent the image data without loss (except that
1341 it is allowed to reduce the bit-depth from 16 to 8 for all formats).
1342 Value = <var>png24</var> and <var>png48</var>
1343 allow transparency, only if a single color is fully transparent and that
1344 color does not also appear in an opaque pixel; such transparency is
1345 written in a PNG <samp>tRNS</samp> chunk.
1346 Value = <var>png00</var> causes the image to inherit its
1347 color-type and bit-depth from the input image, if the input was also
1348 a PNG.</td>
1349 </tr>
1350
1351 <tr>
1352 <td>png:exclude-chunk=<var>value</var></td>
1353 <td> </td>
1354 </tr>
1355 <tr>
1356 <td>png:include-chunk=<var>value</var></td>
1357 <td>ancillary chunks to be excluded from or included in PNG output.
1358
1359 <p>The <var>value</var> can be the name of a PNG chunk-type such
1360 as <var>bKGD</var>, a comma-separated list of chunk-names
1361 (which can include the word <var>date</var>, the word
1362 <var>all</var>, or the word <var>none</var>).
1363 Although PNG chunk-names are case-dependent, you can use all lowercase
1364 names if you prefer.</p>
1365
1366 <p>The "include-chunk" and "exclude-chunk" lists only affect the behavior
1367 of the PNG encoder and have no effect on the PNG decoder.</p>
1368
1369 <p>As a special case, if the <samp>sRGB</samp> chunk is excluded and
1370 the <samp>gAMA</samp> chunk is included, the <samp>gAMA</samp> chunk will
1371 only be written if gamma is not 1/2.2, since most decoders do not assume
1372 sRGB for gAMA=0.45455 when no colorspace information is included in
1373 the PNG file. Because the list is processed from left to right, you
1374 can achieve this with a single define:</p>
1375
1376 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>-define png:include-chunk=none,gAMA
1377 </samp></pre>
1378
1379 <p>As a special case, if the <samp>sRGB</samp> chunk is not excluded and
1380 the PNG encoder recognizes that the image contains the sRGB ICC profile,
1381 the PNG encoder will write the <samp>sRGB</samp> chunk instead of the
1382 entire ICC profile. To force the PNG encoder to write the sRGB
1383 profile as an <samp>iCCP</samp> chunk in the output PNG instead of the
1384 <samp>sRGB</samp> chunk, exclude the <samp>sRGB</samp> chunk.</p>
1385
1386 <p>The critical PNG chunks <samp>IHDR</samp>, <samp>PLTE</samp>,
1387 <samp>IDAT</samp>, and <samp>IEND</samp> cannot be excluded. Any such
1388 entries appearing in the list will be ignored.</p>
1389
1390 <p>If the ancillary PNG <samp>tRNS</samp> chunk is excluded and the
1391 image has transparency, the PNG colortype is forced to be 4 or 6
1392 (GRAY_ALPHA or RGBA). If the image is not transparent, then the
1393 <samp>tRNS</samp> chunk isn't written anyhow, and there is no effect
1394 on the PNG colortype of the output image.</p>
1395
1396 <p>The <a href="command-line-options.html#strip">-strip</a>
1397 option does the equivalent of the following for PNG output:</p>
1398
1399 <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>
1400
1401 <p>The default behavior is to include all known PNG ancillary chunks
1402 plus ImageMagick's private <samp>vpAg</samp> ("virtual page") chunk,
1403 and to exclude all PNG chunks that are unknown to ImageMagick,
1404 regardless of their PNG "copy-safe" status as described in the
1405 PNG specification.</p>
1406
1407 <p>Any chunk names that are not known to ImageMagick are ignored
1408 if they appear in either the "include-chunk" or "exclude-chunk" list.
1409 The ancillary chunks currently known to ImageMagick are
1410 <samp>bKGD</samp>, <samp>cHRM</samp>, <samp>gAMA</samp>, <samp>iCCP</samp>,
1411 <samp>oFFs</samp>, <samp>orNT</samp>, <samp>pHYs</samp>, <samp>sRGB</samp>, <samp>tEXt</samp>,
1412 <samp>tRNS</samp>, <samp>vpAg</samp>, and <samp>zTXt</samp>.</p>
1413
1414 <p>You can also put <samp>date</samp> in the list to include or exclude
1415 the "Date:create" and "Date:modify" text chunks that ImageMagick normally
1416 inserts in the output PNG.</p></td>
1417 </tr>
1418
1419 <tr>
1420 <td>png:ignore-crc[=<var>true</var>]</td>
1421 <td>When you know your image has no CRC or ADLER32 errors, this can speed
1422 up decoding. It is also helpful in debugging bug reports from "fuzzers".</td>
1423 </tr>
1424
1425 <tr>
1426 <td>png:preserve-colormap[=<var>true</var>]</td>
1427 <td>Use the existing image->colormap. Normally the PNG encoder will
1428 try to optimize the palette, eliminating unused entries and putting
1429 the transparent colors first. If this flag is set, that behavior
1430 is suppressed.</td>
1431 </tr>
1432
1433 <tr>
1434 <td>png:preserve-iCCP[=<var>true</var>]</td>
1435 <td>By default, the PNG decoder and encoder examine any ICC profile
1436 that is present, either from an <samp>iCCP</samp> chunk in the PNG
1437 input or supplied via an option, and if the profile is recognized
1438 to be the sRGB profile, converts it to the <samp>sRGB</samp> chunk.
1439 You can use <samp>-define png:preserve-iCCP</samp> to prevent
1440 this from happening; in such cases the <samp>iCCP</samp> chunk
1441 will be read or written and no <samp>sRGB</samp> chunk will be
1442 written. There are some ICC profiles that claim to be sRGB but
1443 have various errors that cause them to be rejected by libpng16; such
1444 profiles are recognized anyhow and converted to the <samp>sRGB</samp>
1445 chunk, but are rejected if the <samp>-define png:preserve-iCCP</samp>
1446 is present. Note that not all "sRGB" ICC profiles are recognized
1447 yet; we will add them to the list as we encounter them.</td>
1448 </tr>
1449
1450 <tr>
1451 <td>png:swap-bytes[=<var>true</var>]</td>
1452 <td>The PNG specification requires that any multi-byte integers be stored
1453 in network byte order (MSB-LSB endian). This option allows you to
1454 fix any invalid PNG files that have 16-bit samples stored incorrectly
1455 in little-endian order (LSB-MSB). The "-define png:swap-bytes" option
1456 must appear before the input filename on the commandline. The swapping
1457 is done during the libpng decoding operation.</td>
1458 </tr>
1459
1460 <tr>
1461 <td>ps:imagemask</td>
1462 <td>If the ps:imagemask flag is defined, the PS3 and EPS3 coders will
1463 create Postscript files that render bilevel images with the Postscript
1464 imagemask operator instead of the image operator.</td>
1465 </tr>
1466
1467 <tr>
1468 <td>psd:additional-info=all|selective</td>
1469 <td>This option should only be used when converting from a PSD file to
1470 another PSD file. This should be placed after the image is read. The two
1471 options are 'all' and 'selective'. The 'selective' option will preserve
1472 all additional information that is not related to the geometry of the
1473 image. The 'all' option should only be used when the geometry of the
1474 image has not been changed. This option is helpful when transferring
1475 non-simple layers, such as adjustment layers from the input PSD file to
1476 the output PSD file. If this option is not used, the additional
1477 information will not be preserved. This define is available as of
1478 Imagemagick version 6.9.5-8.
1479 </td>
1480 </tr>
1481
1482 <tr>
1483 <td>psd:alpha-unblend=off</td>
1484 <td>Disable new automatic un-blending of transparency with the base image
1485 for the flattened layer 0 before adding the alpha channel to the output
1486 image. This define must be placed before the input psd image. (Available
1487 as of IM 6.9.2.5). The automatic un-blending is new to IM 6.9.2.5 and
1488 prevents the transparency from being applied twice in the output
1489 image. This option should be set before reading the image.</td>
1490 </tr>
1491
1492 <tr>
1493 <td>psd:preserve-opacity-mask=<var>true</var></td>
1494 <td>This option should only be used when converting from a PSD file to
1495 another PSD file. It will preserve the opacity mask of a layer and add it
1496 back to the layer when the image is saved. Setting this to 'true' will
1497 enable this feature. This define is available as of Imagemagick version
1498 6.9.5-10.
1499 </td>
1500 </tr>
1501
1502 <tr>
1503 <td>psd:write-layers=<var>false</var></td>
1504 <td>This option can be used to disable writing the layers of a PSD file.
1505 </td>
1506 </tr>
1507
1508 <tr>
1509 <td>psd:replicate-profile=<var>true</var></td>
1510 <td>This option can be used to copy the image profile to all the images
1511 instead of only the first image that is returned.
1512 </td>
1513 </tr>
1514
1515 <tr>
1516 <td>ptif:pyramid=<var>min-base</var>x<var>levels</var></td>
1517 <td>Specify the min-base and number of levels of the pyramid, e.g., 64x4.</td>
1518 </tr>
1519
1520 <tr>
1521 <td>svg:embedding=<var>true</var></td>
1522 <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>
1523 </tr>
1524
1525 <tr>
1526 <td>svg:parse-huge=<var>true</var></td>
1527 <td>Enable rendering of a very large SVG for which you trust the source.</td>
1528 </tr>
1529
1530 <tr>
1531 <td>svg:substitute-entities=<var>true</var></td>
1532 <td>Enable entity substitution if you trust the source.</td>
1533 </tr>
1534
1535 <tr>
1536 <td>tga:preserve-orientation=<var>true</var></td>
1537 <td>Preserve the image orientation.</td>
1538 </tr>
1539
1540 <tr>
1541 <td>tga:write-footer=<var>true</var></td>
1542 <td>Enable writing of an empty optional footer.</td>
1543 </tr>
1544
1545 <tr>
1546 <td>tiff:alpha=<var>associated|unassociated|unspecified</var></td>
1547 <td>Specify the alpha extra samples as associated, unassociated or
1548 unspecified.</td>
1549 </tr>
1550
1551 <tr>
1552 <td>tiff:assume-alpha=<var>true|false</var></td>
1553 <td>Assume undeclared extra channels are alpha.</td>
1554 </tr>
1555
1556 <tr>
1557 <td>tiff:endian=<var>msb|lsb</var></td>
1558 <td> </td>
1559 </tr>
1560
1561 <tr>
1562 <td>tiff:exif-properties=<var>false</var></td>
1563 <td>Disable reading the EXIF properties.</td>
1564 </tr>
1565
1566 <tr>
1567 <td>tiff:fill-order=<var>msb|lsb</var></td>
1568 <td> </td>
1569 </tr>
1570
1571 <tr>
1572 <td>tiff:peg-tables-mode=<var>0-3</var></td>
1573 <td>Set the TIFFTAG_JPEGTABLESMODE when the tiff file is written with
1574 jpeg compression</td>
1575 </tr>
1576
1577 <tr>
1578 <td>tiff:gps-properties=<var>false</var></td>
1579 <td>Disable reading the GPS properties.</td>
1580 </tr>
1581
1582 <tr>
1583 <td>tiff:ignore-layers=<var>true</var></td>
1584 <td>Ignore the Photoshop layers.</td>
1585 </tr>
1586
1587 <tr>
1588 <td>tiff:ignore-tags=<var>comma-separate-list-of-tag-IDs</var></td>
1589 <td>Allow one or more tag ID values to be ignored.</td>
1590 </tr>
1591
1592 <tr>
1593 <td>tiff:predictor=<var>[1, 2 or 3]</var></td>
1594 <td>A mathematical operator that is applied to the image data before an
1595 encoding scheme is applied. The general idea is that subsequent pixels of
1596 an image resemble each other. Thus, substracting the information from a
1597 pixel that is already contained in previous one is likely to reduce its
1598 information density considerably and aid subsequent compression.
1599 1 = No prediction scheme used before coding. 2 = Horizontal differencing.
1600 3 = Floating point horizontal differencing.</td>
1601 </tr>
1602
1603 <tr>
1604 <td>tiff:preserve-compression=<var>true</var></td>
1605 <td>Preserve compression of the source image.</td>
1606 </tr>
1607
1608 <tr>
1609 <td>tiff:rows-per-strip=<var>value</var></td>
1610 <td>Set the number of rows per strip.</td>
1611 </tr>
1612
1613 <tr>
1614 <td>tiff:tile-geometry=<var>WxH</var></td>
1615 <td>Set the tile size for pyramid tiffs. Requires the suffix
1616 PTIF: before the outputname.</td>
1617 </tr>
1618
1619 <tr>
1620 <td>uhdr:gainmap-gamma=<var>value</var></td>
1621 <td>Set gainmap image encoding gamma. Must be greater than 0.0. Used during
1622 encoding. Optional. Default value is 1.0.</td>
1623 </tr>
1624
1625 <tr>
1626 <td>uhdr:gainmap-quality=<var>value</var></td>
1627 <td>Set gainmap image encoding quality factor. The valid range is 1 to 100,
1628 with 1 indicating lowest image quality or highest compression and 100
1629 indicating best quality or least effective compression. Used during
1630 encoding. Optional. Default value is 95.</td>
1631 </tr>
1632
1633 <tr>
1634 <td>uhdr:gainmap-max-content-boost=<var>value</var></td>
1635 <td>Specify the maximum allowed ratio of the linear luminance for the target
1636 HDR rendition relative to (divided by) that of the SDR image, at a given
1637 pixel. In other words, this specifies how much brighter a pixel can get,
1638 when shown on an HDR display, relative to the SDR rendition. Must be
1639 greater than 0.0. Used during encoding. Optional. If not configured,
1640 this is computed dynamically based on the input.</td>
1641 </tr>
1642
1643 <tr>
1644 <td>uhdr:gainmap-min-content-boost=<var>value</var></td>
1645 <td>Specify the minimum allowed ratio of the linear luminance for the target
1646 HDR rendition relative to (divided by) that of the SDR image, at a given
1647 pixel. In other words, this specifies how much darker a pixel can get,
1648 when shown on an HDR display, relative to the SDR rendition. Must be
1649 greater than 0.0. Used during encoding. Optional. If not configured,
1650 this is computed dynamically based on the input.</td>
1651 </tr>
1652
1653 <tr>
1654 <td>uhdr:hdr-color-gamut=<var>{bt709|display_p3|bt2100}</var></td>
1655 <td>Set input HDR intent color gamut. Used during encoding. Required.</td>
1656 </tr>
1657
1658 <tr>
1659 <td>uhdr:hdr-color-transfer=<var>{hlg|pq|linear}</var></td>
1660 <td>Set input HDR intent color transfer. Used during encoding. Required.</td>
1661 </tr>
1662
1663 <tr>
1664 <td>uhdr:output-color-transfer=<var>{hlg|pq|linear|srgb}</var></td>
1665 <td>Set the target display transfer characteristics on which the
1666 ultrahdr image is rendered. Used during decoding. Required.
1667 If <em>srgb</em>, only sdr intent is decoded and sent as output,
1668 otherwise, sdr intent and gainmap are decoded, combined into
1669 hdr image and sent as output.</td>
1670 </tr>
1671
1672 <tr>
1673 <td>uhdr:sdr-color-gamut=<var>{bt709|display_p3|bt2100}</var></td>
1674 <td>Set input SDR intent color gamut. Used during encoding. Required.</td>
1675 </tr>
1676
1677 <tr>
1678 <td>uhdr:uhdr:target-display-peak-brightness=<var>value</var></td>
1679 <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>
1680 </tr>
1681
1682 <tr>
1683 <td>video:intermediate-format=<var>{pam,webp}</var></td>
1684 <td>Set the video intermediate format option of <samp>ffmpeg</samp>.</td>
1685 </tr>
1686
1687 <tr>
1688 <td>video:pixel-format=<var>value</var></td>
1689 <td>Set the pixel format option of <samp>ffmpeg</samp>.</td>
1690 </tr>
1691
1692 <tr>
1693 <td>video:vsync=<var>value</var></td>
1694 <td>Set the vsync option of <samp>ffmpeg</samp>.</td>
1695 </tr>
1696
1697 <tr>
•1698 <td colspan="2"><p></p></td>
1699 </tr>
1700
1701 <tr>
•1702 <td colspan="2"><p></p></td>
1703 </tr>
1704
1705 <tr>
•1706 <th align="center" colspan="2">PSEUDO-IMAGE FORMATS</th>
1707 </tr>
1708
1709 <tr>
1710 <td>caption:max-pointsize=<var>pointsize</var></td>
1711 <td>Limit the maximum point size</td>
1712 </tr>
1713
1714 <tr>
1715 <td>caption:split=<var>boolean</var></td>
1716 <td>split text if required to fit caption on canvas</td>
1717 </tr>
1718
1719 <tr>
1720 <td>gradient:angle=<var>angle (in degrees)</var></td>
1721 <td>For a linear gradient, this specifies the direction of
1722 the gradient going from color1 to color2 in a clockwise
1723 positive manner relative to north (up). For a radial
1724 gradient, this specifies the rotation of the gradient in a
1725 clockwise positive manner from its normal X-Y orientation.
1726 Supported in Imagemagick 6.9.2-5.</td>
1727 </tr>
1728 <tr>
1729 <td>gradient:bounding-box=<var>WxH+X+Y</var></td>
1730 <td>Limit the gradient to a larger or smaller region than
1731 the image dimensions. If the region defined by the bounding
1732 box is smaller than the image, then color1 will be the color
1733 of the background.
1734 Supported in Imagemagick 6.9.2-5.</td>
1735 </tr>
1736
1737 <tr>
1738 <td>gradient:center=<var>x,y</var></td>
1739 <td>Specify the coordinates of the center point for the
1740 radial gradient. The default is the center of the image.
1741 Supported in Imagemagick 6.9.2-5.</td>
1742 </tr>
1743
1744 <tr>
1745 <td>gradient:direction=<var>value</var></td>
1746 <td>Specify the direction of the linear gradient towards
1747 the top/bottom/left/right or diagonal corners. The choices are:
1748 NorthWest, North, Northeast, West, East, SouthWest, South, SouthEast.
1749 Supported in Imagemagick 6.9.2-5.</td>
1750 </tr>
1751
1752 <tr>
1753 <td>gradient:extent=<var>value</var></td>
1754 <td>Specify the shape of an image centered radial gradient.
1755 The choices are: Circle, Diagonal, Ellipse, Maximum, Minimum.
1756 Circle and Maximum draw a circular radial gradient even for
1757 rectangular shaped images of radius equal to the larger of
1758 the half-width and half-height of the image. The Circle and
1759 Maximum options are both equivalent to the default radial
1760 gradient. The Minimum option draws a circular radial gradient
1761 even for rectangular shaped images of radius equal to the
1762 smaller of the half-width and half-height of the image.
1763 The Diagonal option draws a circular radial gradient even
1764 for rectangular shaped images of radius equal to the
1765 half-diagonal of the image. The Ellipse options draws an
1766 elliptical radial gradient for rectangular shaped images of
1767 radii equal to half the width and half the height of the image.
1768 Supported in Imagemagick 6.9.2-5.</td>
1769 </tr>
1770
1771 <tr>
1772 <td>gradient:radii=<var>x,y</var></td>
1773 <td>Specify the x and y radii of the gradient. If the
1774 x radius and the y radius are equal, the shape of the
1775 radial gradient will be a circle. If they differ, then
1776 the shape will be an ellipse. The default values are the
1777 maximum of the half width and half height of the image.
1778 Supported in Imagemagick 6.9.2-5.</td>
1779 </tr>
1780
1781 <tr>
1782 <td>gradient:vector=<var>x1,y1,x2,y2</var></td>
1783 <td>Specify the direction of the linear gradient going from
1784 vector1 (x1,y1) to vector2 (x2,y2). Color1 (fromColor) will be
1785 located at vector position x1,y1 and color2 (toColor) will be
1786 located at vector position x2,y2.
1787 Supported in Imagemagick 6.9.2-5.</td>
1788 </tr>
1789
1790 <tr>
1791 <td>histogram:unique-colors=<var>false</var></td>
1792 <td>Suppress the textual listing of the image's unique colors.</td>
1793 </tr>
1794
1795 <tr>
1796 <td>pango:align=<var>left|center|right</var></td>
1797 <td></td>
1798 </tr>
1799
1800 <tr>
1801 <td>pango:auto-dir=<var>true|false</var></td>
1802 <td></td>
1803 </tr>
1804
1805 <tr>
1806 <td>pango:ellipsize=<var>start|middle|end</var></td>
1807 <td></td>
1808 </tr>
1809
1810 <tr>
1811 <td>pango:gravity-hint=<var>natural|strong|line</var></td>
1812 <td></td>
1813 </tr>
1814
1815 <tr>
1816 <td>pango:hinting=<var>none|auto|full</var></td>
1817 <td></td>
1818 </tr>
1819
1820 <tr>
1821 <td>pango:indent=<var>points</var></td>
1822 <td></td>
1823 </tr>
1824
1825 <tr>
1826 <td>pango:justify=<var>true|false</var></td>
1827 <td></td>
1828 </tr>
1829
1830 <tr>
1831 <td>pango:language=<var>en_US|others</var></td>
1832 <td></td>
1833 </tr>
1834
1835 <tr>
1836 <td>pango:markup=<var>true|false</var></td>
1837 <td></td>
1838 </tr>
1839
1840 <tr>
1841 <td>pango:single-paragraph=<var>true|false</var></td>
1842 <td></td>
1843 </tr>
1844
1845 <tr>
1846 <td>pango:wrap=<var>word|char|word-char</var></td>
1847 <td></td>
1848 </tr>
1849
1850 <tr>
1851 <td>pixel:compliance=<var>value</var></td>
1852 <td>Set the "pixel:" output format according to several standards.
1853 The choices are SVG, None, Undefined, MVG, X11, XPM. The default
1854 list values for (s)RGB colors in the form of (s)rgb(r,g,b) or
1855 (s)rgba(r,g,b,a). Color names will no longer be presented. For sRGB or
1856 RGB colors, the SVG, X11, XPM and None options lists color names,
1857 if they exist. The MVG and Undefined options list hex values. When
1858 colors are presented or converted to hue-based colorspaces, the values
1859 listed will be integers for hue and percents for the other two components.
1860 For other colorspaces, values may be listed as either percents or
1861 fractional value. Setting the depth to 8 will limit values to the 8-bit
1862 range, except for hue-based colors.</td>
1863 </tr>
1864
1865 <tr>
1866 <td>txt:compliance=<var>value</var></td>
1867 <td>Set the "txt:" format for the values in parentheses according to
1868 several standards. The choices are svg, none, undefined, mvg, x11, xpm.
1869 The default will list values for (s)RGB colors in the quantum range.
1870 The SVG, X11, XPM, MVG and None options lists values in the 8-bit range
1871 for all Q-level compiles. The undefined option also lists values in the
1872 quantum range. When colors are presented or converted to hue-based
1873 colorspaces, the values listed will be integers for hue and percents for
1874 the other two components. For other colorspaces, values may be listed as
1875 either percents or fractional value. Setting the depth to 8 will limit
1876 values to the 8-bit range, except for hue-based colors.</td>
1877 </tr>
1878
1879 <tr>
1880 <td>webp:<var>tag</var>=<var>value</var></td>
1881 <td>WebP has a plethora of defines detailed on this <a href="../www/webp.html">page</a>.</td>
1882 </tr>
1883
1884 <tr>
1885 <td>xmp:validate=<var>{true,false}</var></td>
1886 <td>By default, ImageMagick validates any XMP profile embedded in an image.</td>
1887 </tr>
1888
1889 <tr>
•1890 <td colspan="2"><p></p></td>
1891 </tr>
1892
1893 <tr>
•1894 <td colspan="2"><p></p></td>
1895 </tr>
1896
1897 <tr>
•1898 <th align="center" colspan="2">Identify Defines</th>
1899 </tr>
1900
1901 <tr>
•1902 <td colspan="2"><p></p></td>
1903 </tr>
1904
1905 <tr>
1906 <td>identify:locate=<var>minimum|maximum</var></td>
1907 <td>Locate the coordinates of one or more image minimum or maximum.</td>
1908 </tr>
1909
1910 <tr>
1911 <td>identify:limit=<var>number</var></td>
1912 <td>Locate the coordinates for the number of minima or maxima specified.</td>
1913 </tr>
1914
1915 </table>
1916
1917 </div>
1918 </div>
1919 </main><!-- /.container -->
1920 <footer class="text-center pt-5 my-5 text-body-secondary border-top">
1921 <div class="container-fluid">
1922 <a href="security-policy.html">Security</a> •
1923 <a href="../www/news.html">News</a>
1924
1925 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico"/></a>
1926
1927 <a href="../www/links.html">Related</a> •
1928 <a href="../www/sitemap.html">Sitemap</a>
1929 <br/>
1930 <a href="../www/support.html">Sponsor</a> •
1931 <a href="cite.html">Cite</a> •
1932 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
1933 <a href="../www/../www/../www/https://imagemagick.org/script/contact.php">Contact Us</a>
1934 <br/>
1935 <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> •
1936 <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>
1937 <br/>
1938 <small>Copyright © 1999 ImageMagick Studio LLC</small>
1939 </div>
1940 </footer>
1941 </div>
1942
1943 <!-- Javascript assets -->
1944 <script src="assets/bootstrap.bundle.min.js" ></script>
1945 </body>
1946 </html>
1947 <!-- Magick Cache 27th July 2025 09:38 -->