Debian Codegraph @

www/defines/index.html

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