Debian Codegraph @

www/formats.html

raw symbols ◀ ▶ SCIP
4 Debian patches touch this file
1
2
3
4 <!DOCTYPE html>
5 <html lang="en" data-bs-theme="dark">
6 <head>
7 <meta charset="utf-8" />
8 <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
9
10 <!-- Title and Description -->
11 <title>ImageMagick | Image Formats</title>
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 developers, designers, and researchers." />
13
14 <!-- Canonical URL -->
15 <link rel="canonical" href="formats.html" />
16
17 <!-- Robots -->
18 <meta name="robots" content="index, follow" />
19
20 <!-- Theme Color -->
21 <meta name="theme-color" content="#000000" />
22
23 <!-- Verification Tags -->
24 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
25
26 <!-- Favicon and Apple Icon -->
27 <link rel="shortcut icon" href="../images/wand.png" type="images/png" />
28 <link rel="apple-touch-icon" href="../images/wand.png" type="images/png" />
29
30 <!-- Preconnect for External Resources -->
31 <link rel="preconnect" href="../index.html" />
32
33 <!-- Stylesheets -->
34 <link rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" as="style" crossorigin="anonymous" />
35 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
36
37 <!-- Accessibility Enhancement -->
38 <style>
39 html {
40 scroll-padding-top: 70px;
41 }
42 a.nav-link:hover,
43 a.dropdown-item:hover {
44 color: #ffc107 !important;
45 text-shadow: 0px 2px 4px rgba(255, 193, 7, 0.8);
46 }
47 .btn-outline-warning {
48 color: #cd7f32;
49 border-color: #cd7f32;
50 }
51 .navbar-brand {
52 color: #d4af37;
53 transition: color 0.3s ease, text-shadow 0.3s ease;
54 }
55 .navbar-brand:hover {
56 color: #e9c03d;
57 text-shadow: 0px 2px 4px rgba(203, 163, 120, 0.6);
58 }
59 </style>
60
61 <!-- Open Graph Meta Tags -->
62 <meta property="og:title" content="ImageMagick | Image Formats" />
63 <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 developers, designers, and researchers." />
64 <meta property="og:image" content="../images/logo.png" />
65 <meta property="og:logo" content="../images/logo.png" />
66 <meta property="og:url" content="../www/formats.html" />
67 <meta property="og:type" content="website" />
68 <meta property="og:site_name" content="ImageMagick" />
69 <meta property="og:locale" content="en_us" />
70
71 <!-- Twitter Card Meta Tags -->
72 <meta name="twitter:card" content="summary_large_image" />
73 <meta name="twitter:site" content="@imagemagick" />
74 <meta name="twitter:creator" content="@imagemagick" />
75 <meta name="twitter:title" content="ImageMagick | Image Formats" />
76 <meta name="twitter:description" content="ImageMagick is a powerful open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for developers, designers, and researchers." />
77 <meta name="twitter:image" content="../images/logo.png" />
78 <meta name="twitter:image:alt" content="ImageMagick logo and tag line" />
79
80 <!-- JSON-LD Structured Data -->
81 <script type="application/ld+json">
82 {
83 "@context": "https://schema.org",
84 "@type": "SoftwareApplication",
85 "name": "ImageMagick",
86 "url": "../www/formats.html",
87 "image": "../images/logo.png",
88 "description": "ImageMagick is a powerful open-source software suite for creating, editing, converting, and manipulating images in over 200 formats. Ideal for developers, designers, and researchers.",
89 "applicationCategory": "Multimedia",
90 "operatingSystem": "Windows, macOS, Linux, Unix",
91 "softwareVersion": "7.1.2-3",
92 "license": "../www/license.html",
93 "creator": {
94 "@type": "Organization",
95 "name": "ImageMagick Studio LLC",
96 "url": "https://imagemagick.org"
97 },
98 "keywords": [
99 "Image Formats",
100 "image processing software",
101 "image conversion tool",
102 "batch image editing",
103 "open-source image editor",
104 "ImageMagick command-line",
105 "resize images ImageMagick",
106 "crop and rotate images",
107 "ImageMagick tutorial",
108 "ImageMagick automation",
109 "ImageMagick for developers",
110 "ImageMagick CLI",
111 "ImageMagick filters and effects",
112 "ImageMagick scripting",
113 "ImageMagick API integration"
114 ],
115 "sameAs": [
116 "https://github.com/ImageMagick",
117 "https://x.com/imagemagick"
118 ],
119 "offers": {
120 "@type": "Offer",
121 "price": "0.00",
122 "priceCurrency": "USD"
123 }
124 }
125 </script>
126 <!-- Google Custom Search -->
127 </head>
128 <body>
129 <script>
130 function setTheme(theme) {
131 localStorage.setItem('theme', theme);
132 updateThemeIcon(theme);
133 document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? getSystemTheme() : theme);
134 }
135 function getSystemTheme() {
136 return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
137 }
138 function updateThemeIcon(theme) {
139 const iconMap = {
140 light: '☀️',
141 dark: '🌙',
142 auto: '🌓'
143 };
144 document.getElementById('currentThemeIcon').textContent = iconMap[theme] || '🌓';
145 }
146 document.addEventListener('DOMContentLoaded', () => {
147 const savedTheme = localStorage.getItem('theme') || 'auto';
148 setTheme(savedTheme);
149 });
150 </script>
151 <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
152 <div class="container-fluid">
153 <a class="navbar-brand fw-bold" href="../index.html" title="$meta->sitename;">
154 ImageMagick </a>
155 <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">
156 <span class="navbar-toggler-icon"></span>
157 </button>
158
159 <div class="collapse navbar-collapse" id="magick-navbars">
160 <ul class="navbar-nav me-auto">
161 <li class="nav-item">
162 <a class="nav-link " href="download.html">Download</a>
163 </li>
164 <li class="nav-item">
165 <a class="nav-link " href="command-line-tools.html">Tools</a>
166 </li>
167 <li class="nav-item">
168 <a class="nav-link " href="command-line-processing.html">CLI</a>
169 </li>
170 <li class="nav-item">
171 <a class="nav-link " href="develop.html">Develop</a>
172 </li>
173 <li class="nav-item">
174 <a class="nav-link" rel="noopener noreferrer" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
175 </li>
176 <li class="nav-item ms-4">
177 <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
178 </li>
179 </ul>
180 <ul class="navbar-nav ms-auto">
181 <li class="nav-item ms-3">
•182 </li>
183 <li class="nav-item dropdown ms-3">
184 <a class="nav-link dropdown-toggle" href="#" id="themeDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
185 <span id="currentThemeIcon">🌓</span>
186 </a>
187 <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="themeDropdown">
188 <li><a class="dropdown-item" href="#" onclick="setTheme('light')">☀️ Light</a></li>
189 <li><a class="dropdown-item" href="#" onclick="setTheme('dark')">🌙 Dark</a></li>
190 <li><a class="dropdown-item" href="#" onclick="setTheme('auto')">🌓 Auto</a></li>
191 </ul>
192 </li>
193 </ul>
194 </div>
195 </div>
196 </nav>
197
198 <div class="col-lg-8 mx-auto text-body-secondary pt-5 pt-lg-5">
199 <header class="d-flex align-items-center pb-3 mb-5 border-bottom">
200 <div class="mt-3 ms-3">
201 <a href="../index.html" class="text-decoration-none">
202 <h1 class="fs-2 mb-1">Image Formats</h1>
203 </a>
204 <h2 class="fs-5 text-muted">ImageMagick</h2>
205 </div>
206 </header>
207
208 <main role="main" class="container">
209 <div>
210 <p class="text-center"><a href="#colorspace">A Word about Colorspaces</a> • <a href="#supported">Supported Formats</a> • <a href="#pseudo">Pseudo Formats</a> • <a href="#builtin-images">Built-in Images</a> • <a href="#builtin-patterns">Built-in Patterns</a> • <a href="#embedded">Embedded Profiles</a></p>
211
212 <p class="lead">ImageMagick uses an ASCII string known as <var>magick</var> (e.g. <samp>GIF</samp>) to identify file formats, algorithms acting as formats, built-in patterns, and embedded profile types. Support for some of the formats are delegated to libraries or external programs. The Installation Guide describes where to find these distributions and any special configuration options required.</p>
213
214 <p>To get a complete listing of which image formats are supported on your system, type</p>
215
216 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick identify -list format </samp></pre>
217
218 <p>On some platforms, ImageMagick automagically processes these extensions: .gz for Zip compression, .Z for Linux compression, .bz2 for block compression, and .pgp for PGP encryption. For example, a PNM image called image.pnm.gz is automagically uncompressed.</p>
219
220 <h2><a class="anchor" id="colorspace"></a>A Word about Colorspaces</h2>
221 <p>A majority of the image formats assume an sRGB
222 colorspace (e.g. JPEG, PNG, etc.). A few support only linear RGB (e.g. EXR,
223 DPX, CIN, HDR) or only linear GRAY (e.g. PGM). A few formats support CMYK.
224 Then there is the occasional format that also supports LAB (that is CieLAB)
225 (e.g. TIFF, PSD, JPG, JP2). To determine the colorspace of your image, use
226 this command:</p>
227
228 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>$ magick identify -verbose image.jpg
229 Image: image.jpg
230 Format: JPEG (Joint Photographic Experts Group JFIF format)
231 ...
232 Colorspace: sRGB </samp></pre>
233
234 OR use the appropriate percent escape
235 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>$ magick image.jpg -print "%[colorspace]\n" null:
236 sRGB </samp></pre>
237
238
239 <p>When processing an image, be aware of the colorspace. Many image
240 processing algorithms assume a linear RGB colorspace. Although you may get
241 satisfactory results processing in the sRGB colorspace, you may get improved
242 results in linear RGB (essentially sRGB with the gamma function removed). For
243 example,</p>
244
245 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick image.jpg -colorspace RGB -resize 50% -colorspace sRGB resize.jpg </samp></pre>
246
247 <p>As of IM 6.7.8-2 one can properly work in LAB colorspace whether or not
248 Imagemagick is <a href="../www/high-dynamic-range.html">HDRI</a>-enabled. Essentially the A and
249 B channels are stored with a 50% gray bias, to allow it to handle the
250 negatives required by the format.</p>
251
•252 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick lab.tif -resize 50% resize.jpg </samp></pre>
253
254 <p>Again, it may not make sense for some image processing operators to work
255 directly in LAB space, but ImageMagick permits it and generally returns
256 reasonable results.</p>
257
258 <h2><a class="anchor" id="supported"></a>Supported Image Formats</h2>
259
260 <p>ImageMagick supports reading over 100 major file formats (not
261 including sub-formats). The following table provides a summary of
262 the supported image formats.</p>
263
264 <div class="pre-scrollable">
265 <table class="table table-sm table-hover table-striped table-responsive">
266 <tbody>
267 <tr>
268 <th>Tag</th>
269 <th>Mode</th>
270 <th>Description</th>
271 <th>Notes</th>
272 </tr>
273
274 <tr>
275 <td>AAI</td>
276 <td>RW</td>
277 <td>AAI Dune image</td>
278 <td> </td>
279 </tr>
280
281 <tr>
282 <td><a href="https://www.adobe.com/creativecloud/file-types/images/vector/ai-file.html">AI</a></td>
283 <td>RW</td>
284 <td>Adobe Illustrator CS2</td>
285 <td> </td>
286 </tr>
287
288 <tr>
289 <td><a href="https://en.wikipedia.org/wiki/APNG">APNG</a></td>
290 <td>RW</td>
291 <td>Animated Portable Network Graphics</td>
292 <td>Note, you must use an explicit image format specifier to read an APNG (<samp>apng:myImage.apng</samp>) image sequence, otherwise it assumes a PNG image and only reads the first frame. You must have <samp>ffmpeg</samp> in your execution path to process APNG images. </td>
293 </tr>
294
295 <tr>
296 <td>ART</td>
297 <td>RW</td>
298 <td>PFS: 1st Publisher</td>
299 <td>Format originally used on the Macintosh (MacPaint?) and later used for PFS: 1st Publisher clip art.</td>
300 </tr>
301
302 <tr>
303 <td>ARW</td>
304 <td>R</td>
305 <td>Sony Digital Camera Alpha Raw Image Format</td>
306 <td>Set <samp>-define dng:use-camera-wb=true</samp> to use the RAW-embedded color profile for Sony cameras. You can also set these options: <samp>use-auto-wb</samp>, <samp>no-auto-bright</samp>, and <samp>output-color</samp>.</td>
307 </tr>
308
309 <tr>
310 <td><a href="http://www.jmcgowan.com/avi.html">AVI</a></td>
311 <td>R</td>
312 <td>Microsoft Audio/Visual Interleaved</td>
313 <td> </td>
314 </tr>
315
316 <tr>
317 <td><a href="https://en.wikipedia.org/wiki/AV1#AV1_Image_File_Format_(AVIF)#AV1_Image_File_Format_(AVIF)">AVIF</a></td>
318 <td>RW</td>
319 <td>Format derived from the keyframes of AV1 video</td>
320 <td> </td>
321 </tr>
322
323 <tr>
324 <td>AVS</td>
325 <td>RW</td>
326 <td>AVS X image</td>
327 <td> </td>
328 </tr>
329
330 <tr>
331 <td>BAYER</td>
332 <td>RW</td>
333 <td>Raw mosaiced samples</td>
334 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision. For signed pixel data, use <samp>-define quantum:format=signed</samp>.</td>
335 </tr>
336
337 <tr>
338 <td><a href="http://bellard.org/bpg/">BPG</a></td>
339 <td>RW</td>
340 <td>Better Portable Graphics</td>
341 <td>Use <a href="command-line-options.html#quality">-quality</a> to specify the image compression quality. To meet the requirements of BPG, the quality argument divided by 2 (e.g. -quality 92 assigns 46 as the BPG compression.</td>
342 </tr>
343
344 <tr>
345 <td><a href="http://www.fileformat.info/format/bmp/egff.htm">BMP, BMP2, BMP3</a></td>
346 <td>RW</td>
347 <td>Microsoft Windows bitmap</td>
348 <td>By default the BMP format is version 4. Use BMP3 and BMP2 to write versions 3 and 2 respectively. Use <samp>-define bmp:ignore-filesize</samp> to ignore the filesize check.</td>
349 </tr>
350
351 <tr>
352 <td><a href="http://en.wikipedia.org/wiki/Braille_ASCII">BRF</a></td>
353 <td>W</td>
354 <td>Braille Ready Format</td>
355 <td>Uses juxtaposition of 6-dot braille patterns (thus 6x2 dot matrices) to reproduce images, using the BRF ASCII Braille encoding.</td>
356 </tr>
357
358 <tr>
359 <td><a href="http://www.fileformat.info/format/cals/egff.htm">CALS</a></td>
360 <td>R</td>
361 <td>Continuous Acquisition and Life-cycle Support Type 1 image</td>
362 <td>Specified in MIL-R-28002 and MIL-PRF-28002. Standard blueprint archive format as used by the US military to replace microfiche.</td>
363 </tr>
364
365 <tr>
366 <td><a href="http://www.cineon.com/ff_draft.html">CIN</a></td>
367 <td>RW</td>
368 <td>Kodak Cineon Image Format</td>
369 <td>Use <a href="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <samp>-set gamma 1.7</samp>, <samp>-set reference-black 95</samp>, <samp>-set reference-white 685</samp>). Properties include cin:file.create_date, cin:file.create_time, cin:file.filename, cin:file.version, cin:film.count, cin:film.format, cin:film.frame_id, cin:film.frame_position, cin:film.frame_rate, cin:film.id, cin:film.offset, cin:film.prefix, cin:film.slate_info, cin:film.type, cin:image.label, cin:origination.create_date, cin:origination.create_time, cin:origination.device, cin:origination.filename, cin:origination.model, cin:origination.serial, cin:origination.x_offset, cin:origination.x_pitch, cin:origination.y_offset, cin:origination.y_pitch, cin:user.data.</td>
370 </tr>
371
372 <tr>
373 <td>CIP</td>
374 <td>W</td>
375 <td>Cisco IP phone image format</td>
376 <td> </td>
377 </tr>
378
379 <tr>
380 <td>CMYK</td>
381 <td>RW</td>
382 <td>Raw cyan, magenta, yellow, and black samples</td>
383 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
384 </tr>
385
386 <tr>
387 <td>CMYKA</td>
388 <td>RW</td>
389 <td>Raw cyan, magenta, yellow, black, and alpha samples</td>
390 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
391 </tr>
392
393 <tr>
394 <td>CR2</td>
395 <td>R</td>
396 <td>Canon Digital Camera Raw Image Format</td>
397 <td>Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. cr2:image.cr2).</td>
398 </tr>
399
400 <tr>
401 <td>CRW</td>
402 <td>R</td>
403 <td>Canon Digital Camera Raw Image Format</td>
404 <td> </td>
405 </tr>
406
407 <tr>
408 <td>CUBE</td>
409 <td>R</td>
410 <td>A lookup table containing math instructions to replace a color (based on RGB value) by another one. It's like a color grading preset. This process is done pixel by pixel with a very high accuracy.</td>
411 <td>Select levels like this: cube:Vibrant.cube[8] for level 8</td>
412 </tr>
413
414 <tr>
415 <td>CUR</td>
416 <td>R</td>
417 <td>Microsoft Cursor Icon</td>
418 <td> </td>
419 </tr>
420
421 <tr>
422 <td>CUT</td>
423 <td>R</td>
424 <td>DR Halo</td>
425 <td> </td>
426 </tr>
427
428 <tr>
429 <td>DCM</td>
430 <td>R</td>
431 <td>Digital Imaging and Communications in Medicine (DICOM) image</td>
432 <td>Used by the medical community for images like X-rays. ImageMagick sets the initial display range based on the Window Center (0028,1050) and Window Width (0028,1051) tags. Use <a href="command-line-options.html#define">-define dcm:display-range=reset</a> to set the display range to the minimum and maximum pixel values. Use <a href="command-line-options.html#define">-define dcm:rescale=true</a> to enable interpretation of the rescale slope and intercept settings in the file. Use <a href="command-line-options.html#define">-define dcm:window=centerXwidth</a> to override the center and width settings in the file with your own values.</td>
433 </tr>
434
435 <tr>
436 <td>DCR</td>
437 <td>R</td>
438 <td>Digital Camera Raw Image File</td>
439 <td>Use DCRAW to leverage the raw photo decoder delegate program, e.g., dcraw:IMG_2600.dng</td>
440 </tr>
441
442 <tr>
443 <td>DCX</td>
444 <td>RW</td>
445 <td>ZSoft IBM PC multi-page Paintbrush image</td>
446 <td> </td>
447 </tr>
448
449 <tr>
450 <td><a href="http://en.wikipedia.org/wiki/DirectDraw_Surface">DDS</a></td>
451 <td>RW</td>
452 <td>Microsoft Direct Draw Surface</td>
453 <td>Use <a href="command-line-options.html#define">-define</a> to specify the compression (e.g. <samp>-define dds:compression={dxt1, dxt5, none}</samp>). Other defines include <samp>dds:cluster-fit={true,false}</samp>, <samp>dds:weight-by-alpha={true,false}</samp>, <samp>dds:fast-mipmaps={true,false}</samp>, and use <samp>dds:mipmaps</samp> to set the number of mipmaps (use <samp>fromlist</samp> to use the image list).</td>
454
455 </tr>
456
457 <tr>
458 <td>DEBUG</td>
459 <td>W</td>
460 <td>Raw pixel debug file, likely only useful to the developers</td>
461 <td></td>
462 </tr>
463
464 <tr>
465 <td>DIB</td>
466 <td>RW</td>
467 <td>Microsoft Windows Device Independent Bitmap</td>
468 <td>DIB is a <a href="#BMP">BMP</a> file without the <a href="#BMP">BMP</a> header. Used to support embedded images in compound formats like WMF.</td>
469 </tr>
470
471 <tr>
472 <td><a href="../index.html">DJVU</a></td>
473 <td>R</td>
474 <td></td>
475 <td></td>
476 </tr>
477
478 <tr>
479 <td><a href="https://github.com/ImageMagick/MagickCache">DMR</a></td>
480 <td>RW</td>
481 <td>Digital media repository</td>
482 <td>Requires the <a href="https://gitlab.com/ImageMagick/MagickCache">MagickCache</a> delegate library. Supported options include <samp>dmr:path</samp> (location of repository), <samp>dmr:passkey</samp> (key to open digital media repository), <samp>dmr:passphrase</samp> (optionally scramble or unscramble media resource), and <samp>dmr:ttl</samp> (time-to-live); Set the <samp>dmr:meta</samp> (metadata) property to store the resource as meta data.</td>
483 </tr>
484
485 <tr>
486 <td><a href="http://www.adobe.com/products/dng/main.html">DNG</a></td>
487 <td>R</td>
488 <td>Digital Negative</td>
489 <td>Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. dng:image.dng).</td>
490 </tr>
491
492 <tr>
493 <td><a href="../index.html">DOT</a></td>
494 <td>R</td>
495 <td>Graph Visualization</td>
496 <td>Use <a href="command-line-options.html#define">-define</a> to specify the layout engine (e.g. <samp>-define dot:layout-engine=twopi</samp>).</td>
497 </tr>
498
499 <tr>
500 <td><a href="../www/motion-picture.html">DPX</a></td>
501 <td>RW</td>
502 <td>SMPTE Digital Moving Picture Exchange 2.0 (SMPTE 268M-2003)</td>
503 <td>Use <a href="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <samp>-set gamma 1.7</samp>, <samp>-set reference-black 95</samp>, <samp>-set reference-white 685</samp>).</td>
504 </tr>
505
506 <tr>
507 <td>EMF</td>
508 <td>R</td>
509 <td>Microsoft Enhanced Metafile (32-bit)</td>
510 <td>Only available under Microsoft Windows. Use <a href="command-line-options.html#size">-size</a> command line option to specify the maximum width and height.</td>
511 </tr>
512
513 <tr>
514 <td>EPDF</td>
515 <td>RW</td>
516 <td>Encapsulated Portable Document Format</td>
517 <td></td>
518 </tr>
519
520 <tr>
521 <td>EPI</td>
522 <td>RW</td>
523 <td>Adobe Encapsulated PostScript Interchange format</td>
524 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
525 </tr>
526
527 <tr>
528 <td>EPS</td>
529 <td>RW</td>
530 <td>Adobe Encapsulated PostScript</td>
531 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
532 </tr>
533
534 <tr>
535 <td>EPS2</td>
536 <td>W</td>
537 <td>Adobe Level II Encapsulated PostScript</td>
538 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
539 </tr>
540
541 <tr>
542 <td>EPS3</td>
543 <td>W</td>
544 <td>Adobe Level III Encapsulated PostScript</td>
545 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
546 </tr>
547
548 <tr>
549 <td>EPSF</td>
550 <td>RW</td>
551 <td>Adobe Encapsulated PostScript</td>
552 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
553 </tr>
554
555 <tr>
556 <td>EPSI</td>
557 <td>RW</td>
558 <td>Adobe Encapsulated PostScript Interchange format</td>
559 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
560 </tr>
561
562 <tr>
563 <td>EPT</td>
564 <td>RW</td>
565 <td>Adobe Encapsulated PostScript Interchange format with <a href="#TIFF">TIFF</a> preview</td>
566 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
567 </tr>
568
569 <tr>
570 <td><a href="../index.html">EXR</a></td>
571 <td>RW</td>
572 <td>High dynamic-range (HDR) file format developed by Industrial Light &amp; Magic</td>
573 <td>See <a href="../www/high-dynamic-range.html">High Dynamic-Range Images</a> for details on this image format. To specify the output color type, use <samp>-define exr:color-type={RGB,RGBA,YC,YCA,Y,YA,R,G,B,A}</samp>. Use <a href="command-line-options.html#sampling-factor">-sampling-factor</a> to specify the sampling rate for YC(A) (e.g. <samp>2x2 or 4:2:0</samp>). Requires the <a href="../index.html">OpenEXR</a> delegate library.</td>
574 </tr>
575
576 <tr>
577 <td>FARBFELD</td>
578 <td>RW</td>
579 <td>Farbfeld lossless image format</td>
580 <td>sRGB 16-bit RGBA lossless image format</td>
581 </tr>
582
583 <tr>
584 <td>FAX</td>
585 <td>RW</td>
586 <td>Group 3 TIFF</td>
587 <td>This format is a fixed width of 1728 as required by the standard. See <a href="#TIFF">TIFF</a> format. Note that FAX machines use non-square pixels which are 1.5 times wider than they are tall but computer displays use square pixels so FAX images may appear to be narrow unless they are explicitly resized using a resize specification of <samp>100x150%</samp>.</td>
588 </tr>
589
590 <tr>
591 <td><a href="http://www.cv.nrao.edu/fits/">FITS</a></td>
592 <td>RW</td>
593 <td>Flexible Image Transport System</td>
594 <td>To specify a single-precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 64 for a double-precision floating-point format.</td>
595 </tr>
596
597 <tr>
598 <td>FL32</td>
599 <td>RW</td>
600 <td>FilmLight floating point image format</td>
601 <td></td>
602 </tr>
603
604 <tr>
605 <td><a href="../index.html">FLIF</a></td>
606 <td>RW</td>
607 <td>Free Lossless Image Format</td>
608 <td></td>
609 </tr>
610
611 <tr>
612 <td>FPX</td>
613 <td>RW</td>
614 <td>FlashPix Format</td>
615 <td>FlashPix has the option to store mega- and giga-pixel images at various resolutions in a single file which permits conservative bandwidth and fast reveal times when displayed within a Web browser. Requires the <a href="https://github.com/ImageMagick/libfpx">FlashPix SDK</a>. Specify the FlashPix viewing parameters with the <a href="command-line-options.html#define">-define fpx:view</a>.</td>
616 </tr>
617
618 <tr>
619 <td><a href="http://im.snibgo.com/fmttxt.htm">FTXT</a></td>
620 <td>RW</td>
621 <td>Read and write multispectral channels as formatted text</td>
622 <td></td>
623 </tr>
624
625 <tr>
626 <td><a href="http://www.fileformat.info/format/gif/egff.htm">GIF</a></td>
627 <td>RW</td>
628 <td>CompuServe Graphics Interchange Format</td>
629 <td>8-bit RGB PseudoColor with up to 256 palette entries. Specify the format <samp>GIF87</samp> to write the older version 87a of the format. Use <a href="command-line-options.html#transparent-color">-transparent-color</a> to specify the GIF transparent color (e.g. <samp>-transparent-color wheat</samp>).</td>
630 </tr>
631
632 <tr>
633 <td>GPLT</td>
634 <td>R</td>
635 <td>Gnuplot plot files</td>
636 <td>Requires <a href="../index.html">gnuplot4.0.tar.Z</a> or later.</td>
637 </tr>
638
639 <tr>
640 <td>GRAY</td>
641 <td>RW</td>
642 <td>Raw gray samples</td>
643 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision. For signed pixel data, use <samp>-define quantum:format=signed</samp>. ImageMagick supports scanline padding. If your image is not padded, you can instead read the image as a 1-D vector and reshape it: <samp>magick -size 38700x1 -depth 1 gray:image.bin -reshape 180x215 image.png</samp>.</td>
644 </tr>
645
646 <tr>
647 <td>GRAYA</td>
648 <td>RW</td>
649 <td>Raw gray and alpha samples</td>
650 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
651 </tr>
652
653 <tr>
654 <td>GROUP4</td>
655 <td>RW</td>
656 <td>Raw CCITT Group 4 samples</td>
657 <td>Use <a href="command-line-options.html#size">-size</a> to specify the image width and height.</td>
658 </tr>
659
660 <tr>
661 <td><a href="http://en.wikipedia.org/wiki/RGBE_image_format">HDR</a></td>
662 <td>RW</td>
663 <td>Radiance RGBE image format</td>
664 <td> </td>
665 </tr>
666
667 <tr>
668 <td><a href="http://en.wikipedia.org/wiki/RGBE_image_format">HDR</a></td>
669 <td>RW</td>
670 <td>Radiance RGBE image format</td>
671 <td> </td>
672 </tr>
673
674 <tr>
675 <td><a href="https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format">HEIC</a></td>
676 <td>RW</td>
677 <td>Apple High efficiency Image Format</td>
678 <td>Set the quality to 100 to produce lossless HEIC images. Requires the <a href="https://github.com/strukturag/libheif">libheif</a> delegate library. Recognized defines include <samp>heic:cicp</samp>, <samp>heic:clli</samp>, <samp>heic:preserve-cicp={true,false}</samp>, <samp>heic:preserve-clli={true,false}</samp>, <samp>heic:preserve-orientation={true,false}</samp>, <samp>depth-image={true,false}</samp>, <samp>heic:speed</samp>, and <samp>heic:chroma</samp>; availability depends on the libheif delegate version.</td>
679 </tr>
680
681 <tr>
682 <td>HPGL</td>
683 <td>R</td>
684 <td>HP-GL plotter language</td>
685 <td>Requires <a href="http://ftp.gnu.org/gnu/hp2xx">hp2xx-3.4.4.tar.gz</a></td>
686 </tr>
687
688 <tr>
689 <td>HRZ</td>
690 <td>RW</td>
691 <td>Slow Scan TeleVision</td>
692 <td> </td>
693 </tr>
694
695 <tr>
696 <td>HTML</td>
697 <td>RW</td>
698 <td>Hypertext Markup Language with a client-side image map</td>
699 <td>Also known as <samp>HTM</samp>. Requires <a href="http://user.it.uu.se/%7Ejan/html2ps.html">html2ps</a> to read. Note, the <samp>\\xff</samp> character is not permitted in any filename when exporting client-side image maps.</td>
700 </tr>
701
702 <tr>
703 <td>ICO</td>
704 <td>R</td>
705 <td>Microsoft icon</td>
706 <td>Also known as <samp>ICON</samp>.</td>
707 </tr>
708
709 <tr>
710 <td>INFO</td>
711 <td>W</td>
712 <td>Format and characteristics of the image</td>
713 <td></td>
714 </tr>
715
716 <tr>
717 <td><a href="https://www.iso.org/obp/ui/#iso:std:iso:tr:11548:-1#iso:std:iso:tr:11548:-1">ISOBRL</a></td>
718 <td>W</td>
719 <td>ISO/TR 11548-1 BRaiLle</td>
720 <td>Uses juxtaposition of 8-dot braille patterns (thus 8x2 dot matrices) to reproduce images, using the ISO/TR 11548-1 Braille encoding.</td>
721 </tr>
722
723 <tr>
724 <td><a href="https://www.iso.org/obp/ui/#iso:std:iso:tr:11548:-1#iso:std:iso:tr:11548:-1">ISOBRL6</a></td>
725 <td>W</td>
726 <td>ISO/TR 11548-1 BRaiLle 6 dots</td>
727 <td>Uses juxtaposition of 6-dot braille patterns (thus 6x2 dot matrices) to reproduce images, using the ISO/TR 11548-1 Braille encoding.</td>
728 </tr>
729
730 <tr>
731 <td>JBIG</td>
732 <td>RW</td>
733 <td>Joint Bi-level Image experts Group file interchange format</td>
734 <td>Also known as <samp>BIE</samp> and <samp>JBG</samp>. Requires <a href="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">jbigkit-1.6.tar.gz</a>.</td>
735 </tr>
736
737 <tr>
738 <td><a href="../index.html">JNG</a></td>
739 <td>RW</td>
740 <td>Multiple-image Network Graphics</td>
741 <td>JPEG in a PNG-style wrapper with transparency. Requires libjpeg and libpng-1.0.11 or later, <a href="http://www.libpng.org/pub/png/libpng.html">libpng-1.2.5</a> or later recommended.</td>
742 </tr>
743
744 <tr>
745 <td><a href="../index.html">JP2</a></td>
746 <td>RW</td>
747 <td>JPEG-2000 JP2 File Format Syntax</td>
748 <td>Specify the encoding options with the <a href="command-line-options.html#define">-define</a> option. See <a href="../www/jp2.html">JP2 Encoding Options</a> for more details.</td>
749 </tr>
750
751 <tr>
752 <td><a href="../index.html">JPT</a></td>
753 <td>RW</td>
754 <td>JPEG-2000 Code Stream Syntax</td>
755 <td>Specify the encoding options with the <a href="command-line-options.html#define">-define</a> option See <a href="../www/jp2.html">JP2 Encoding Options</a> for more details.</td>
756 </tr>
757
758 <tr>
759 <td><a href="../index.html">J2C</a></td>
760 <td>RW</td>
761 <td>JPEG-2000 Code Stream Syntax</td>
762 <td>Specify the encoding options with the <a href="command-line-options.html#define">-define</a> option See <a href="../www/jp2.html">JP2 Encoding Options</a> for more details.</td>
763 </tr>
764
765 <tr>
766 <td><a href="../index.html">J2K</a></td>
767 <td>RW</td>
768 <td>JPEG-2000 Code Stream Syntax</td>
769 <td>Specify the encoding options with the <a href="command-line-options.html#define">-define</a> option See <a href="../www/jp2.html">JP2 Encoding Options</a> for more details.</td>
770 </tr>
771
772 <tr>
773 <td><a href="../index.html">JPEG</a></td>
774 <td>RW</td>
775 <td>Joint Photographic Experts Group JFIF format</td>
776 <td>Note, JPEG is a lossy compression. In addition, you cannot create black and white images with JPEG nor can you save transparency.<br /><br /> Requires <a href="http://www.ijg.org/files/">jpegsrc.v8c.tar.gz</a>. You can set quality scaling for luminance and chrominance separately (e.g. <a href="command-line-options.html#quality">-quality</a> 90,70). You can optionally define the DCT method, for example to specify the float method, use <a href="command-line-options.html#define">-define jpeg:dct-method=float</a>. By default we compute optimal Huffman coding tables. Specify <a href="command-line-options.html#define">-define jpeg:optimize-coding=false</a> to use the default Huffman tables. Specify <a href="command-line-options.html#define">-define jpeg:arithmetic-coding=true</a> to enable Huffman optimization. Two other options include <a href="command-line-options.html#define">-define jpeg:block-smoothing</a> and <a href="command-line-options.html#define">-define jpeg:fancy-upsampling</a>. Set the sampling factor with <a href="command-line-options.html#define">-define jpeg:sampling-factor</a>. You can size the image with <samp>jpeg:size</samp>, for example <a href="command-line-options.html#define">-define jpeg:size=128x128</a>. To restrict the maximum file size, use <samp>jpeg:extent</samp>, for example <a href="command-line-options.html#define">-define jpeg:extent=400KB</a>. To define one or more custom quantization tables, use <a href="command-line-options.html#define">-define jpeg:q-table=<i>filename</i></a>. These values are multiplied by <a href="command-line-options.html#quality">-quality</a> argument divided by 100.0. To avoid reading a particular associated image profile, use <a href="command-line-options.html#define">-define profile:skip=<i>name</i></a> (e.g. profile:skip=ICC).</td>
777 </tr>
778
779 <tr>
780 <td><a href="../index.html">JSON</a></td>
781 <td>W</td>
782 <td>JavaScript Object Notation, a lightweight data-interchange format</td>
783 <td>Include additional attributes about the image with these defines: <a href="command-line-options.html#define">-define json:locate</a>, <a href="command-line-options.html#define">-define json:limit</a>, <a href="command-line-options.html#define">-define json:moments</a>, or <a href="command-line-options.html#define">-define json:features</a>. Specify the JSON model schema version with <a href="command-line-options.html#define">-define json:version</a>. The current version is 1.0. Any version less than 1.0, returns the original JSON output which included misspelled labels.</td>
784 </tr>
785
786 <tr>
787 <td><a href="https://jpeg.org/jpegxl">JXL</a></td>
788 <td>RW</td>
789 <td>JPEG XL image coding system</td>
790 <td>Requires the <a href="https://gitlab.com/wg1/jpeg-xl.git">JPEG XL</a> delegate library. Use <samp>-define jxl:effort=<i>integer</i></samp> to set the effort and <samp>-define jxl:decoding-speed=<i>integer</i></samp> to set the decoding speed. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats and 16 for half-precision.</td>
791 </tr>
792
793 <tr>
794 <td><a href="https://en.wikipedia.org/wiki/JPEG_XR">JXR</a></td>
795 <td>RW</td>
796 <td>JPEG extended range</td>
•797 <td>Requires the <a href="../index.html">jxrlib</a> delegate library. Put the JxrDecApp and JxrEncApp applications in your execution path.</td>
798 </tr>
799
800 <tr>
801 <td>KERNEL</td>
802 <td>W</td>
803 <td>Morphology kernel format</td>
804 <td>format suitable for a morphology kernel</td>
805 </tr>
806
807 <tr>
808 <td>MAN</td>
809 <td>R</td>
810 <td>Linux reference manual pages</td>
811 <td>Requires that GNU groff and Ghostcript are installed.</td>
812 </tr>
813
814 <tr>
815 <td>MAT</td>
816 <td>R</td>
817 <td>MATLAB image format</td>
818 <td> </td>
819 </tr>
820
821 <tr>
822 <td><a href="../www/miff.html">MIFF</a></td>
823 <td>RW</td>
824 <td>Magick multispectral image file format</td>
825 <td>This format persists all image attributes known to ImageMagick. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
826 </tr>
827
828 <tr>
829 <td>MONO</td>
830 <td>RW</td>
831 <td>Bi-level bitmap in least-significant-byte first order</td>
832 <td> </td>
833 </tr>
834
835 <tr>
836 <td><a href="http://www.libpng.org/pub/mng/">MNG</a></td>
837 <td>RW</td>
838 <td>Multiple-image Network Graphics</td>
839 <td>A PNG-like Image Format Supporting Multiple Images, Animation and Transparent JPEG. Requires libpng-1.0.11 or later, <a href="http://www.libpng.org/pub/png/libpng.html">libpng-1.2.5</a> or later recommended. An interframe delay of 0 generates one frame with each additional layer composited on top. For motion, be sure to specify a non-zero delay.</td>
840 </tr>
841
842 <tr>
843 <td><a href="../index.html">M2V</a></td>
844 <td>RW</td>
845 <td>Motion Picture Experts Group file interchange format (version 2)</td>
846 <td>Requires <a href="http://www.ffmpeg.org/download.html">ffmpeg</a>.</td>
847 </tr>
848
849 <tr>
850 <td><a href="../index.html">MPEG</a></td>
851 <td>RW</td>
852 <td>Motion Picture Experts Group file interchange format (version 1)</td>
853 <td>Requires <a href="http://www.ffmpeg.org/download.html">ffmpeg</a>.</td>
854 </tr>
855
856 <tr>
857 <td>MPC</td>
858 <td>RW</td>
859 <td>Magick Pixel Cache image file format</td>
860 <td>The most efficient data processing pattern is a write-once, read-many-times pattern. The image is generated or copied from source, then various analyses are performed on the image pixels over time. MPC supports this pattern. MPC is the native <var>in-memory</var> ImageMagick uncompressed file format. This file format is identical to that used by ImageMagick to represent images in memory and is read by mapping the file directly into memory. The MPC format is not portable and is not suitable as an archive format. It is suitable as an intermediate format for high-performance image processing. The MPC format requires two files to support one image. Image attributes are written to a file with the extension <samp>.mpc</samp>, whereas, image pixels are written to a file with the extension <samp>.cache</samp>.</td>
861 </tr>
862
863 <tr>
864 <td>MPO</td>
865 <td>R</td>
866 <td>Multi-picture Object</td>
867 <td> </td>
868 </tr>
869
870 <tr>
871 <td>MPR</td>
872 <td>RW</td>
873 <td>Magick Persistent Registry</td>
874 <td>This format permits you to write to and read images from memory. The filename is the registry key. The image persists until you explicitly delete it or the program exits. For example, let's use the MPR to create a checkerboard:
875 <pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>magick \( -size 15x15 canvas:black canvas:white -append \) \
876 \( +clone -flip \) +append -write mpr:checkers +delete \
877 -size 240x240 tile:mpr:checkers -delete registry:checkers board.png </samp></pre>
878 </td>
879 </tr>
880
881 <tr>
882 <td>MRW</td>
883 <td>R</td>
884 <td>Sony (Minolta) Raw Image File</td>
885 <td>Set <samp>-define dng:use-camera-wb=true</samp> to use the RAW-embedded color profile for Sony cameras.</td>
886 </tr>
887
888 <tr>
889 <td>MSL</td>
890 <td>RW</td>
891 <td>Magick Scripting Language</td>
892 <td>MSL is the XML-based scripting language supported by the <a href="../www/conjure.html">conjure</a> utility. MSL requires the <a href="../index.html">libxml2</a> delegate library.</td>
893 </tr>
894
895 <tr>
896 <td><a href="http://www.fileformat.info/format/mtv/egff.htm">MTV</a></td>
897 <td>RW</td>
898 <td>MTV Raytracing image format</td>
899 <td> </td>
900 </tr>
901
902 <tr>
903 <td><a href="../www/magick-vector-graphics.html">MVG</a></td>
904 <td>RW</td>
905 <td>Magick Vector Graphics.</td>
906 <td>The native ImageMagick vector metafile format. A text file containing vector drawing commands accepted by <a href="magick.html">magick</a>'s <a href="command-line-options.html#draw">-draw</a> option.</td>
907 </tr>
908
909 <tr>
910 <td>NEF</td>
911 <td>R</td>
912 <td>Nikon Digital SLR Camera Raw Image File</td>
913 <td> </td>
914 </tr>
915
916 <tr>
917 <td>ORF</td>
918 <td>R</td>
919 <td>Olympus Digital Camera Raw Image File</td>
920 <td> </td>
921 </tr>
922
923 <tr>
924 <td><a href="https://www.freedesktop.org/wiki/Specifications/OpenRaster/">ORA</a></td>
925 <td>R</td>
926 <td>open exchange format for layered raster based graphics</td>
927 <td> </td>
928 </tr>
929
930 <tr>
931 <td>OTB</td>
932 <td>RW</td>
933 <td>On-the-air Bitmap</td>
934 <td> </td>
935 </tr>
936
937 <tr>
938 <td>P7</td>
939 <td>RW</td>
940 <td>Xv's Visual Schnauzer thumbnail format</td>
941 <td> </td>
942 </tr>
943
944 <tr>
945 <td>PALM</td>
946 <td>RW</td>
947 <td>Palm pixmap</td>
948 <td> </td>
949 </tr>
950
951 <tr>
952 <td><a href="http://netpbm.sourceforge.net/doc/pam.html">PAM</a></td>
953 <td>W</td>
954 <td>Common 2-dimensional bitmap format</td>
955 <td> </td>
956 </tr>
957
958 <tr>
959 <td>CLIPBOARD</td>
960 <td>RW</td>
961 <td>Windows Clipboard</td>
962 <td>Only available under Microsoft Windows.</td>
963 </tr>
964 <tr>
965 <td><a href="http://netpbm.sourceforge.net/doc/pbm.html">PBM</a></td>
966 <td>RW</td>
967 <td>Portable bitmap format (black and white)</td>
968 <td> </td>
969 </tr>
970
971 <tr>
972 <td>PCD</td>
973 <td>RW</td>
974 <td>Photo CD</td>
975 <td>The maximum resolution written is 768x512 pixels since larger images require huffman compression (which is not supported). Use <a href="command-line-options.html#bordercolor">-bordercolor</a> to specify the border color (e.g. <samp>-bordercolor black</samp>).</td>
976 </tr>
977
978 <tr>
979 <td>PCDS</td>
980 <td>RW</td>
981 <td>Photo CD</td>
982 <td>Decode with the sRGB color tables.</td>
983 </tr>
984
985 <tr>
986 <td>PCL</td>
987 <td>W</td>
988 <td>HP Page Control Language</td>
989 <td>Use <a href="command-line-options.html#define">-define</a> to specify fit to page option (e.g. <samp>-define pcl:fit-to-page=true</samp>).</td>
990 </tr>
991
992 <tr>
993 <td><a href="http://www.fileformat.info/format/pcx/egff.htm">PCX</a></td>
994 <td>RW</td>
995 <td>ZSoft IBM PC Paintbrush file</td>
996 <td> </td>
997 </tr>
998
999 <tr>
1000 <td>PDB</td>
1001 <td>RW</td>
1002 <td>Palm Database ImageViewer Format</td>
1003 <td> </td>
1004 </tr>
1005
1006 <tr>
1007 <td>PDF</td>
1008 <td>RW</td>
1009 <td>Portable Document Format</td>
1010 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read. By default, ImageMagick sets the page size to the MediaBox. Some PDF files, however, have a CropBox or TrimBox that is smaller than the MediaBox and may include white space, registration or cutting marks outside the CropBox or TrimBox. To force ImageMagick to use the CropBox or TrimBox rather than the MediaBox, use <a href="command-line-options.html#define">-define</a> (e.g. <samp>-define pdf:use-cropbox=true</samp> or <samp>-define pdf:use-trimbox=true</samp>). Use <a href="command-line-options.html#density">-density</a> to improve the appearance of your PDF rendering (e.g. -density 300x300). To specify direct conversion from Postscript to PDF, use <samp>-define delegate:bimodel=true</samp>. Use <samp>-define pdf:fit-page=true</samp> to scale to the page size. To immediately stop processing upon an error, set <samp>-define pdf:stop-on-error</samp> to <samp>true</samp>. To set the page direction preferences to right-to-left, try <samp>-define pdf:page-direction=right-to-left</samp>. By default, the PDF is printed using "screen" for annotations and images. Use <samp>-define pdf:printed=true</samp> to instead utilize the printer options. Use <a href="command-line-options.html#alpha">-alpha remove </a> to remove transparency. When writing to a PDF, thumbnails are included by default. Generate thumbnails with <samp>-define pdf:thumbnail=true</samp>. To enable interpolation when rendering, use <samp>-define pdf:interpolate=true</samp>.</td>
1011 </tr>
1012
1013 <tr>
1014 <td>PEF</td>
1015 <td>R</td>
1016 <td>Pentax Electronic File</td>
1017 <td>Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. pef:image.pef).</td>
1018 </tr>
1019
1020 <tr>
1021 <td>PES</td>
1022 <td>R</td>
1023 <td>Embrid Embroidery Format</td>
1024 <td> </td>
1025 </tr>
1026
1027 <tr>
1028 <td>PFA</td>
1029 <td>R</td>
1030 <td>Postscript Type 1 font (ASCII)</td>
1031 <td>Opening as file returns a preview image.</td>
1032 </tr>
1033
1034 <tr>
1035 <td>PFB</td>
1036 <td>R</td>
1037 <td>Postscript Type 1 font (binary)</td>
1038 <td>Opening as file returns a preview image.</td>
1039 </tr>
1040
1041 <tr>
1042 <td><a href="http://netpbm.sourceforge.net/doc/pfm.html">PFM</a></td>
1043 <td>RW</td>
1044 <td>Portable float map format</td>
1045 <td> </td>
1046 </tr>
1047
1048 <tr>
1049 <td><a href="http://netpbm.sourceforge.net/doc/pgm.html">PGM</a></td>
1050 <td>RW</td>
1051 <td>Portable graymap format (gray scale)</td>
1052 <td> </td>
1053 </tr>
1054
1055 <tr>
1056 <td><a href="http://netpbm.sourceforge.net/doc/pfm.html">PHM</a></td>
1057 <td>RW</td>
1058 <td>Portable float map format 16-bit half</td>
1059 <td> </td>
1060 </tr>
1061
1062 <tr>
1063 <td>PICON</td>
1064 <td>RW</td>
1065 <td>Personal Icon</td>
1066 <td> </td>
1067 </tr>
1068
1069 <tr>
1070 <td>PICT</td>
1071 <td>RW</td>
1072 <td>Apple Macintosh QuickDraw/PICT file</td>
1073 <td> </td>
1074 </tr>
1075
1076 <tr>
1077 <td>PIX</td>
1078 <td>R</td>
1079 <td>Alias/Wavefront RLE image format</td>
1080 <td> </td>
1081 </tr>
1082
1083 <tr>
1084 <td><a href="http://www.libpng.org/pub/png/">PNG</a></td>
1085 <td>RW</td>
1086 <td>Portable Network Graphics</td>
1087 <td>Requires libpng-1.0.11 or later, <a href="http://www.libpng.org/pub/png/libpng.html">libpng-1.2.5</a> or later recommended. The PNG specification does not support pixels-per-inch units, only pixels-per-centimeter. To avoid reading a particular associated image profile, use <a href="command-line-options.html#define">-define profile:skip=<i>name</i></a> (e.g. profile:skip=ICC). Set the maximum chunk size with <a href="command-line-options.html#define">-define png:chunk-malloc-max=<i>value</i></a>.</td>
1088 </tr>
1089
1090 <tr>
1091 <td><a href="http://www.libpng.org/pub/png/">PNG8</a></td>
1092 <td>RW</td>
1093 <td>Portable Network Graphics</td>
1094 <td>8-bit indexed with optional binary transparency</td>
1095 </tr>
1096
1097 <tr>
1098 <td><a href="http://www.libpng.org/pub/png/">PNG00</a></td>
1099 <td>RW</td>
1100 <td>Portable Network Graphics</td>
1101 <td>PNG inheriting subformat from original if possible</td>
1102 </tr>
1103
1104 <tr>
1105 <td><a href="http://www.libpng.org/pub/png/">PNG24</a></td>
1106 <td>RW</td>
1107 <td>Portable Network Graphics</td>
1108 <td>opaque or binary transparent 24-bit RGB</td>
1109 </tr>
1110
1111 <tr>
1112 <td><a href="http://www.libpng.org/pub/png/">PNG32</a></td>
1113 <td>RW</td>
1114 <td>Portable Network Graphics</td>
1115 <td>opaque or transparent 32-bit RGBA</td>
1116 </tr>
1117
1118 <tr>
1119 <td><a href="http://www.libpng.org/pub/png/">PNG48</a></td>
1120 <td>RW</td>
1121 <td>Portable Network Graphics</td>
1122 <td>opaque or binary transparent 48-bit RGB</td>
1123 </tr>
1124
1125 <tr>
1126 <td><a href="http://www.libpng.org/pub/png/">PNG64</a></td>
1127 <td>RW</td>
1128 <td>Portable Network Graphics</td>
1129 <td>opaque or transparent 64-bit RGB</td>
1130 </tr>
1131
1132 <tr>
1133 <td><a href="http://netpbm.sourceforge.net/doc/pnm.html">PNM</a></td>
1134 <td>RW</td>
1135 <td>Portable anymap</td>
1136 <td>PNM is a family of formats supporting portable bitmaps (PBM) , graymaps (PGM), and pixmaps (PPM). There is no file format associated with pnm itself. If PNM is used as the output format specifier, then ImageMagick automagically selects the most appropriate format to represent the image. The default is to write the binary version of the formats. Use <a href="command-line-options.html#compress">-compress none</a> to write the ASCII version of the formats.</td>
1137 </tr>
1138
1139 <tr>
1140 <td>POCKETMOD</td>
1141 <td>RW</td>
1142 <td>Pocketmod personal organizer format</td>
1143 <td>Example usage: <samp>magick -density 300 pages?.pdf pocketmod:organize.pdf</samp> </td>
1144 </tr>
1145
1146 <tr>
1147 <td><a href="http://netpbm.sourceforge.net/doc/ppm.html">PPM</a></td>
1148 <td>RW</td>
1149 <td>Portable pixmap format (color)</td>
1150 <td> </td>
1151 </tr>
1152
1153 <tr>
1154 <td>PS</td>
1155 <td>RW</td>
1156 <td>Adobe PostScript file</td>
1157 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read. To force ImageMagick to respect the crop box, use <a href="command-line-options.html#define">-define</a> (e.g. <samp>-define eps:use-cropbox=true</samp>). Use <a href="command-line-options.html#density">-density</a> to improve the appearance of your Postscript rendering (e.g. -density 300x300). Use <a href="command-line-options.html#alpha">-alpha remove </a> to remove transparency. To specify direct conversion from PDF to Postscript, use <samp>-define delegate:bimodel=true</samp>.</td>
1158 </tr>
1159
1160 <tr>
1161 <td>PS2</td>
1162 <td>RW</td>
1163 <td>Adobe Level II PostScript file</td>
1164 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
1165 </tr>
1166
1167 <tr>
1168 <td>PS3</td>
1169 <td>RW</td>
1170 <td>Adobe Level III PostScript file</td>
1171 <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
1172 </tr>
1173
1174 <tr>
1175 <td><a href="http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/">PSB</a></td>
1176 <td>RW</td>
1177 <td>Adobe Large Document Format</td>
1178 <td> </td>
1179 </tr>
1180
1181 <tr>
1182 <td><a href="http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/">PSD</a></td>
1183 <td>RW</td>
1184 <td>Adobe Photoshop multispectral bitmap file</td>
1185 <td>Use <a href="command-line-options.html#define">-define psd:alpha-unblend=off</a> to disable alpha blending in the merged image. Use <a href="command-line-options.html#define">-define psd:additional-info=all|selective</a> to transfer additional information from the input PSD file to output PSD file. The 'selective' option will preserve all additional information that is not related to the geometry of the image. The 'all' option should only be used when the geometry of the image has not been changed. This option is helpful when transferring non-simple layers, such as adjustment layers from the input PSD file to the output PSD file. This define is available as of Imagemagick version 6.9.5-8. Use <a href="command-line-options.html#define">-define psd:preserve-opacity-mask=true</a> to preserve the opacity mask of a layer and add it back to the layer when the image is saved.</td>
1186 </tr>
1187
1188 <tr>
1189 <td>PTIF</td>
1190 <td>RW</td>
1191 <td>Pyramid encoded <a href="#TIFF">TIFF</a></td>
1192 <td>Multi-resolution <a href="#TIFF">TIFF</a> containing successively smaller versions of the image down to the size of an icon. Use <samp>-define ptif:pyramid</samp> to specify the min-base and levels of the pyramid, e.g. 64x4.</td>
1193 </tr>
1194
1195 <tr>
1196 <td><a href="../index.html">PWP</a></td>
1197 <td>R</td>
1198 <td>Seattle File Works multi-image file</td>
1199 <td> </td>
1200 </tr>
1201
1202 <tr>
1203 <td><a href="../index.html">QOI</a></td>
1204 <td>RW</td>
1205 <td>Quite OK Image Format</td>
1206 <td>Fast, lossless image compression.</td>
1207 </tr>
1208
1209 <tr>
1210 <td>RAD</td>
1211 <td>R</td>
1212 <td>Radiance image file</td>
1213 <td>Requires that <i>ra_ppm</i> from the Radiance software package be installed.</td>
1214 </tr>
1215
1216 <tr>
1217 <td>RAF</td>
1218 <td>R</td>
1219 <td>Fuji CCD-RAW Graphic File</td>
1220 <td> </td>
1221 </tr>
1222
1223 <tr>
1224 <td>RAW</td>
1225 <td>R</td>
1226 <td>Raw</td>
1227 <td></td>
1228 </tr>
1229
1230 <tr>
1231 <td>RGB</td>
1232 <td>RW</td>
1233 <td>Raw red, green, and blue samples</td>
1234 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
1235 </tr>
1236
1237 <tr>
1238 <td>RGB565</td>
1239 <td>R</td>
1240 <td>Raw red, green, blue pixels in the 5-6-5 format</td>
1241 <td>Use <a href="command-line-options.html#size">-size</a> to specify the image width and height.</td>
1242 </tr>
1243
1244 <tr>
1245 <td>RGBA</td>
1246 <td>RW</td>
1247 <td>Raw red, green, blue, and alpha samples</td>
1248 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
1249 </tr>
1250
1251 <tr>
1252 <td>RGF</td>
1253 <td>RW</td>
1254 <td>LEGO Mindstorms EV3 Robot Graphics File</td>
1255 <td> </td>
1256 </tr>
1257
1258 <tr>
1259 <td>RLA</td>
1260 <td>R</td>
1261 <td>Alias/Wavefront image file</td>
1262 <td> </td>
1263 </tr>
1264
1265 <tr>
1266 <td>RLE</td>
1267 <td>R</td>
1268 <td>Utah Run length encoded image file</td>
1269 <td> </td>
1270 </tr>
1271
1272 <tr>
1273 <td><a href="http://www.oreilly.com/www/centers/gff/formats/scitex/">SCT</a></td>
1274 <td>R</td>
1275 <td>Scitex Continuous Tone Picture</td>
1276 <td> </td>
1277 </tr>
1278
1279 <tr>
1280 <td><a href="../index.html">SFW</a></td>
1281 <td>R</td>
1282 <td>Seattle File Works image</td>
1283 <td> </td>
1284 </tr>
1285
1286 <tr>
1287 <td><a href="https://shirakumo.org/docs/sf3/">SF3</a></td>
1288 <td>R</td>
1289 <td>The SF3 image format is part of the Simple File Format Family.</td>
1290 <td>SF3 is designed to be lightweight and easy to parse, with a human-readable text-based structure that focuses on simplicity over compression. It’s especially useful for fast prototyping or environments where minimal overhead is key.</td>
1291 </tr>
1292
1293 <tr>
1294 <td>SGI</td>
1295 <td>RW</td>
1296 <td>Irix RGB image</td>
1297 <td> </td>
1298 </tr>
1299
1300 <tr>
1301 <td>SHTML</td>
1302 <td>W</td>
1303 <td>Hypertext Markup Language client-side image map</td>
1304 <td>Used to write HTML clickable image maps based on a the output of <a href="../www/montage.html">montage</a> or a format which supports tiled images such as <a href="#MIFF">MIFF</a>.</td>
1305 </tr>
1306
1307 <tr>
1308 <td>SID, MrSID</td>
1309 <td>R</td>
1310 <td>Multiresolution seamless image</td>
1311 <td>Requires the <a href="http://www.lizardtech.com/downloads/downloads.html?dl=/download/files/lin/geoexpress_commandlineutils_linux.tgz">mrsidgeodecode</a> command line utility that decompresses MG2 or MG3 SID image files.</td>
1312 </tr>
1313
1314 <tr>
1315 <td>SPARSE-COLOR</td>
1316 <td>W</td>
1317 <td>Raw text file</td>
1318 <td>Format compatible with the <a href="command-line-options.html#sparse-color">-sparse-color</a> option. Lists only non-fully-transparent pixels.</td>
1319 </tr>
1320
1321 <tr>
1322 <td>STRIMG</td>
1323 <td>RW</td>
1324 <td>String to images and back</td>
1325 <td> </td>
1326 </tr>
1327
1328 <tr>
1329 <td>SUN</td>
1330 <td>RW</td>
1331 <td>SUN Rasterfile</td>
1332 <td> </td>
1333 </tr>
1334
1335 <tr>
1336 <td><a href="http://www.w3.org/Graphics/SVG">SVG</a></td>
1337 <td>RW</td>
1338 <td>Scalable Vector Graphics</td>
1339 <td>By default, ImageMagick renders SVGs with <a href="../index.html">inkscape</a> if it is in your execution path; otherwise <a href="http://developer.gnome.org/rsvg/">RSVG</a>. If neither is available, ImageMagick reverts to its internal SVG renderer (called MSVG). The default resolution is 96 dpi. Use the <a href="command-line-options.html#size">-size</a> command line option to specify the maximum width and height. (<samp>-size</samp> is currently ignored by the Inkscape renderer due to a limitation on the Inkscape side). The SVG standard expects to draw over a transparent background. Set <a href="command-line-options.html#background">-background none</a> to comply with the standard. If you want to substitute entities and you trust the SVG source, enable this option: <samp>-define svg:substitute-entities=true</samp>. If you want to render a very large SVG and you trust the source, enable this option: <samp>-define svg:parse-huge=true</samp>. Enable embedding if your SVG embeds another SVG and you trust the source: <samp>-define svg:embedding=true</samp>. If RSVG is installed and you want to render an SVG using RSVG, add <samp>rsvg:</samp> just before the file name. If you want to render an SVG using MSVG, add <samp>msvg:</samp> just before the file name.</td>
1340 </tr>
1341
1342 <tr>
1343 <td>TEXT</td>
1344 <td>R</td>
1345 <td>text file</td>
1346 <td>Requires an explicit format specifier to read, e.g. text:README.txt.</td>
1347 </tr>
1348
1349 <tr>
1350 <td>TGA</td>
1351 <td>RW</td>
1352 <td>Truevision Targa image</td>
1353 <td>Also known as formats <samp>ICB</samp>, <samp>VDA</samp>, and <samp>VST</samp>. Use <samp>-define tga:preserve-orientation=true</samp> to preserve the image orientation.</td>
1354 </tr>
1355
1356 <tr>
1357 <td><a href="../index.html">TIFF</a></td>
1358 <td>RW</td>
1359 <td>Tagged image file multispectral format</td>
1360 <td>Also known as <samp>TIF</samp>. Requires <a href="../index.html">tiff-v3.6.1.tar.gz</a> or later. Use <a href="command-line-options.html#define">-define</a> to specify the rows per strip (e.g. <samp>-define tiff:rows-per-strip=8</samp>). To define the tile geometry, use for example, <samp>-define tiff:tile-geometry=128x128</samp>. To specify a <var>signed</var> format, use <samp>-define quantum:format=signed</samp>. To specify a single-precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 64 for a double-precision floating-point format. Use <samp>-define quantum:polarity=min-is-black</samp> or <samp>-define quantum:polarity=min-is-white</samp> toggle the photometric interpretation for a bilevel image. Specify the extra samples as associated or unassociated alpha with, for example, <samp>-define tiff:alpha=unassociated</samp>. Set the fill order with <samp>-define tiff:fill-order=msb|lsb</samp>. Set the TIFF endianness with <samp>-define tiff:endian=msb|lsb</samp>. Use <samp>-define tiff:exif-properties=false</samp> to skip reading the EXIF properties. Use <samp>-define tiff:gps-properties=false</samp> to skip reading the GPS properties. You can set a number of TIFF software attributes including document name, host computer, artist, timestamp, make, model, software, and copyright. For example, <a href="command-line-options.html#set">-set tiff:software "My Company"</a>. If you want to ignore certain TIFF tags, use this option: <samp>-define tiff:ignore-tags=comma-separated-list-of-tag-IDs</samp>. Since version 6.9.1-4 there is support for reading photoshop layers in TIFF files, this can be disabled with <samp>-define tiff:ignore-layers=true</samp>. To preserve compression of the source image, use: <samp>-define tiff:preserve-compression=true</samp>.</td>
1361 </tr>
1362
1363 <tr>
1364 <td>TIM</td>
1365 <td>R</td>
1366 <td>PSX TIM file</td>
1367 <td> </td>
1368 </tr>
1369
1370 <tr>
1371 <td><a href="../index.html">TTF</a></td>
1372 <td>R</td>
1373 <td>TrueType font file</td>
1374 <td>Requires <a href="../index.html">freetype 2</a>. Opening as file returns a preview image. Use <a href="command-line-options.html#set">-set</a> if you do not want to hint glyph outlines after their scaling to device pixels (e.g. <samp>-set type:hinting off</samp>).</td>
1375 </tr>
1376
1377 <tr>
1378 <td>TXT</td>
1379 <td>RW</td>
1380 <td>Multispectral raw text file</td>
1381 <td>Use <a href="command-line-options.html#define">-define</a> to specify the color compliance (e.g. <samp>-define txt:compliance=css</samp>).</td>
1382 </tr>
1383
1384 <tr>
1385 <td><a href="http://www.unicode.org/charts/PDF/U2800.pdf">UBRL</a></td>
1386 <td>W</td>
1387 <td>Unicode BRaiLle</td>
1388 <td>Uses juxtaposition of 8-dot braille patterns (thus 8x2 dot matrices) to reproduce images, using the Unicode Braille encoding.</td>
1389 </tr>
1390
1391 <tr>
1392 <td><a href="http://www.unicode.org/charts/PDF/U2800.pdf">UBRL6</a></td>
1393 <td>W</td>
1394 <td>Unicode BRaiLle 6 dots</td>
1395 <td>Uses juxtaposition of 6-dot braille patterns (thus 6x2 dot matrices) to reproduce images, using the Unicode Braille encoding.</td>
1396 </tr>
1397
1398 <tr>
1399 <td><a href="https://developer.android.com/media/platform/hdr-image-format">UHDR</a></td>
1400 <td>RW</td>
1401 <td>Ultra HDR</td>
1402 <td>Requires the <a href="https://github.com/google/libultrahdr.git">libultrahdr</a> delegate library. Recognized <a href="../www/defines.html">defines</a> include <samp>uhdr:hdr-color-gamut</samp>, <samp>uhdr:hdr-color-transfer</samp>, <samp>uhdr:sdr-color-gamut</samp>, <samp>uhdr:gainmap-quality</samp>, <samp>uhdr:gainmap-gamma</samp>, <samp>uhdr:gainmap-min-content-boost</samp>, <samp>uhdr:gainmap-max-content-boost</samp>, and <samp>uhdr:target-display-peak-brightness</samp>.</td>
1403 </tr>
1404
1405 <tr>
1406 <td>UIL</td>
1407 <td>W</td>
1408 <td>X-Motif UIL table</td>
1409 <td> </td>
1410 </tr>
1411
1412 <tr>
1413 <td>UYVY</td>
1414 <td>RW</td>
1415 <td>Interleaved YUV raw image</td>
1416 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> command line options to specify width and height. Use <a href="command-line-options.html#sampling-factor">-sampling-factor</a> to set the desired subsampling (e.g. -sampling-factor 4:2:2).</td>
1417 </tr>
1418
1419 <tr>
1420 <td>VICAR</td>
1421 <td>RW</td>
1422 <td>VICAR rasterfile format</td>
1423 <td> </td>
1424 </tr>
1425
1426 <tr>
1427 <td>VIDEO</td>
1428 <td>RW</td>
1429 <td>Various video formats</td>
1430 <td>Video formats such as APNG, AVI, MP4, WEBM, etc. Refer to <a href="../www/defines.html">defines</a> for a description of these defines: <samp>video:intermediate-format</samp>, <samp>video:pixel-format</samp>, and <samp>video:vsync</samp> defines, that can affect the operation on these video formats.</td>
1431 <td> </td>
1432 </tr>
1433
1434 <tr>
1435 <td><a href="http://www.fileformat.info/format/viff/egff.htm">VIFF</a></td>
1436 <td>RW</td>
1437 <td>Khoros Visualization Image File Format</td>
1438 <td> </td>
1439 </tr>
1440
1441 <tr>
1442 <td><a href="http://www.openmobilealliance.org/Technical/wapindex.aspx">WBMP</a></td>
1443 <td>RW</td>
1444 <td>Wireless bitmap</td>
1445 <td>Support for uncompressed monochrome only.</td>
1446 </tr>
1447
1448 <tr>
1449 <td><a href="https://en.wikipedia.org/wiki/JPEG_XR">WDP</a></td>
1450 <td>RW</td>
1451 <td>JPEG extended range</td>
1452 <td>Requires the <a href="../index.html">jxrlib</a> delegate library. Put the JxrDecApp and JxrEncApp applications in your execution path. </td>
1453 </tr>
1454
1455 <tr>
1456 <td><a href="http://en.wikipedia.org/wiki/WebP">WEBP</a></td>
1457 <td>RW</td>
1458 <td>Weppy image format</td>
1459 <td>Requires the <a href="https://developers.google.com/speed/webp/download">WEBP</a> delegate library. The muxing delegate library is required to read animated Webp image containers. Specify the encoding options with the <a href="command-line-options.html#define">-define</a> option See <a href="../www/webp.html">WebP Encoding Options</a> for more details.</td>
1460 </tr>
1461
1462 <tr>
1463 <td><a href="http://www.fileformat.info/format/wmf/egff.htm">WMF</a></td>
1464 <td>R</td>
1465 <td>Windows Metafile</td>
1466 <td>Requires <a href="http://sourceforge.net/projects/wvware/">libwmf</a>. By default, renders WMF files using the dimensions specified by the metafile header. Use the -density option to adjust the output resolution, and thereby adjust the output size. The default output resolution is 72DPI so <samp>-density 144</samp> results in an image twice as large as the default. Use <samp>-background color</samp> to specify the WMF background color (default white) or <samp>-texture filename</samp> to specify a background texture image.</td>
1467 </tr>
1468
1469 <tr>
1470 <td><a href="http://www.fileformat.info/format/wpg/egff.htm">WPG</a></td>
1471 <td>R</td>
1472 <td>Word Perfect Graphics File</td>
1473 <td> </td>
1474 </tr>
1475
1476 <tr>
1477 <td>X</td>
1478 <td>RW</td>
1479 <td>display or import an image to or from an X11 server</td>
1480 <td>Use <a href="command-line-options.html#define">-define</a> to obtain the image from the root window (e.g. <samp>-define x:screen=true</samp>). Set <samp>x:silent=true</samp> to turn off the beep when importing an image.</td>
1481 </tr>
1482
1483 <tr>
1484 <td><a href="http://www.fileformat.info/format/xbm/egff.htm">XBM</a></td>
1485 <td>RW</td>
1486 <td>X Windows system bitmap, black and white only</td>
1487 <td>Used by the X Windows System to store monochrome icons.</td>
1488 </tr>
1489
1490 <tr>
1491 <td>XCF</td>
1492 <td>R</td>
1493 <td>GIMP image</td>
1494 <td> </td>
1495 </tr>
1496
1497 <tr>
1498 <td><a href="http://www.fileformat.info/format/xpm/egff.htm">XPM</a></td>
1499 <td>RW</td>
1500 <td>X Windows system pixmap</td>
1501 <td>Also known as <samp>PM</samp>. Used by the X Windows System to store color icons.</td>
1502 </tr>
1503
1504 <tr>
1505 <td><a href="http://www.fileformat.info/format/xwd/egff.htm">XWD</a></td>
1506 <td>RW</td>
1507 <td>X Windows system window dump</td>
1508 <td>Used by the X Windows System to save/display screen dumps.</td>
1509 </tr>
1510
1511 <tr>
1512 <td>X3F</td>
1513 <td>R</td>
1514 <td>Sigma Camera RAW Picture File</td>
1515 <td> </td>
1516 </tr>
1517
1518 <tr>
1519 <td><a href="../index.html">YAML</a></td>
1520 <td>W</td>
1521 <td>human-readable data-serialization language</td>
1522 <td>Include additional attributes about the image with these defines: <a href="command-line-options.html#define">-define yaml:locate</a>, <a href="command-line-options.html#define">-define yaml:limit</a>, <a href="command-line-options.html#define">-define yaml:moments</a>, or <a href="command-line-options.html#define">-define yaml:features</a>. Specify the JSON model schema version with <a href="command-line-options.html#define">-define yaml:version</a>. The current version is 1.0.</td>
1523 </tr>
1524
1525 <tr>
1526 <td>YCbCr</td>
1527 <td>RW</td>
1528 <td>Raw Y, Cb, and Cr samples</td>
1529 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth.</td>
1530 </tr>
1531
1532 <tr>
1533 <td>YCbCrA</td>
1534 <td>RW</td>
1535 <td>Raw Y, Cb, Cr, and alpha samples</td>
1536 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth.</td>
1537 </tr>
1538
1539 <tr>
1540 <td>YUV</td>
1541 <td>RW</td>
1542 <td>CCIR 601 4:1:1</td>
1543 <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> command line options to specify width, height, and depth. Use <a href="command-line-options.html#sampling-factor">-sampling-factor</a> to set the desired subsampling (e.g. -sampling-factor 4:2:2).</td>
1544 </tr>
1545 </tbody>
1546 </table>
1547 </div>
1548 <br/>
1549 <h2><a class="anchor" id="pseudo"></a>Pseudo-image Formats</h2>
1550
1551 <p>ImageMagick supports a number of image format specifications which refer to images prepared via an algorithm, or input/output targets. The following table lists these pseudo-image formats:</p>
1552
1553 <div class="pre-scrollable p-3 mb-2 text-body-secondary bg-body-tertiary">
1554 <table class="table table-sm table-hover table-striped table-responsive">
1555 <tr>
1556 <th>Tag</th>
1557 <th>Mode</th>
1558 <th>Description</th>
1559 <th>Notes</th>
1560 </tr>
1561
1562 <tr>
1563 <td>ASHLAR</td>
1564 <td>W</td>
1565 <td>Image sequence laid out in continuous irregular courses</td>
1566 <td>By default, a reasonable canvas size and border width is determined relative to the image collection you provide. You can explicitly set the canvas size and border width by appending to the filename, e.g. <samp>ashlar:canvas.png[1024x768+4+4]</samp>. By default, alignment is along the left edge. Use <samp>-define ashlar:best-fit=true</samp> to align on both the left and right edges. You can label the image tiles with, for example, <samp>-label %f</samp>. By default, all image tiles are rendered on a single canvas. Use <samp>-define ashlar:tiles=50</samp>, for example, to render at most 50 tiles per canvas.</td>
1567 </tr>
1568
1569 <tr>
1570 <td>CANVAS</td>
1571 <td>R</td>
1572 <td>Canvas image of specified color</td>
1573 <td>Useful to create solid color <var>canvas</var> images. Use
1574 <a href="command-line-options.html#size" >-size</a> and <a
1575 href="command-line-options.html#depth" >-depth</a> to specify the
1576 image width, height, and depth. Example canvas color specifications
1577 include <samp>canvas:red</samp> and <samp>canvas:#FF0000</samp>.<br/>
1578
1579 If no color is specified a '<samp>white</samp>' canvas image is
1580 generated. If no <a href="command-line-options.html#size" >-size</a> is specified
1581 a single pixel image of the specified color is generated.</td>
1582
1583 </tr>
1584
1585 <tr>
1586 <td>CAPTION</td>
1587 <td>R</td>
1588 <td>Image caption</td>
1589 <td>Use <samp>-define caption:split=true</samp> to split text if required to fit caption on the canvas</td>
1590 </tr>
1591
1592 <tr>
1593 <td>CLIP</td>
1594 <td>RW</td>
1595 <td>Clip path of image</td>
1596 <td> </td>
1597 </tr>
1598
1599 <tr>
1600 <td>CLIPBOARD</td>
1601 <td>RW</td>
1602 <td>Clipboard</td>
1603 <td></td>
1604 </tr>
1605
1606 <tr>
1607 <td>FRACTAL</td>
1608 <td>R</td>
1609 <td>Plasma fractal image</td>
1610 <td> </td>
1611 </tr>
1612
1613 <tr>
1614 <td>GRADIENT</td>
1615 <td>R</td>
1616 <td>Gradual passing from one shade to another</td>
1617 <td>Returns a rendered linear or radial top-to-bottom <a href="../www/gradient.html">gradient image</a> using the specified image size.</td>
1618
1619 </tr>
1620
1621 <tr>
1622 <td>HALD</td>
1623 <td>R</td>
1624 <td>Identity Hald CLUT Image</td>
1625 <td>Select levels like this: hald:[8] for level 8.</td>
1626 </tr>
1627
1628 <tr>
1629 <td>HISTOGRAM</td>
1630 <td>W</td>
1631 <td>Histogram of the image</td>
1632 <td>The histogram includes the unique colors of the image as an image comment. If you have no need for the unique color list, use <samp>-define histogram:unique-colors=false</samp> to forego this expensive operation.</td>
1633 </tr>
1634
1635 <tr>
1636 <td>INLINE</td>
1637 <td>RW</td>
1638 <td>Base64-encoded inline image</td>
1639 <td>The inline image look similar to <samp>inline:data:;base64,/9j/4AAQSk...knrn//2Q==</samp>. If the inline image exceeds 5000 characters, reference it from a file (e.g. <samp>inline:inline.txt</samp>). You can also write a base64-encoded image. Embed the mime type in the filename, for example, <samp>magick myimage inline:jpeg:myimage.txt</samp>.</td>
1640 </tr>
1641
1642 <tr>
1643 <td>LABEL</td>
1644 <td>R</td>
1645 <td>Text image format</td>
1646 <td>Specify the desired text as the filename (e.g. <samp>label:"This a label"</samp>).</td>
1647 </tr>
1648
1649 <tr>
1650 <td>MAP</td>
1651 <td>RW</td>
1652 <td>Colormap intensities and indices</td>
1653 <td>Set <a href="command-line-options.html#depth">-depth</a> to set the sample size of the intensities; indices are 16-bit if colors &gt; 256.</td>
1654 </tr>
1655
1656 <tr>
1657 <td>MASK</td>
1658 <td>RW</td>
1659 <td>Grayscale image mask. A sequence is emitted if the source image has more than one mask.</td>
1660 <td> </td>
1661 </tr>
1662
1663 <tr>
1664 <td>MATTE</td>
1665 <td>W</td>
1666 <td>MATTE format</td>
1667 <td>Write only.</td>
1668 </tr>
1669
1670 <tr>
1671 <td>NULL</td>
1672 <td>RW</td>
1673 <td>NULL image</td>
1674 <td>Useful for creating blank tiles with <a href="../www/montage.html">montage</a> (use <samp>NULL:</samp>). Also useful as an output format when evaluating image read performance.</td>
1675 </tr>
1676
1677 <tr>
1678 <td>PANGO</td>
1679 <td>R</td>
1680 <td>Image caption</td>
1681 <td>You can configure the caption layout with these defines: <samp>-define pango:auto-dir=</samp><var>true/false</var>, <samp>-define pango:ellipsize=</samp><var>start/middle/end</var>, <samp>-define pango:gravity-hint=</samp><var>natural/strong/line</var>, <samp>-define pango:hinting=</samp><var>none/auto/full</var>, <samp>-define pango:indent=</samp><var>points</var>, <samp>-define pango:justify=</samp><var>true/false</var>, <samp>-define pango:language=</samp><var>en_US/etc</var>, <samp>-define pango:markup=</samp><var>true/false</var>, <samp>-define pango:single-paragraph=</samp><var>true/false</var>, <samp>-define pango:wrap=</samp><var>word/char/word-char</var> and <samp>-define pango:align=</samp><var>left/center/right</var>.</td>
1682 </tr>
1683
1684 <tr>
1685 <td>PLASMA</td>
1686 <td>R</td>
1687 <td>Plasma fractal image</td>
1688 <td> </td>
1689 </tr>
1690
1691 <tr>
1692 <td>PREVIEW</td>
1693 <td>W</td>
1694 <td>Show a preview an image enhancement, effect, or f/x</td>
1695 <td>Creates a preview montage of images prepared over a parametric range in order to assist with parameter selection. Specify the desired
1696 preview type via the -preview option).</td>
1697 </tr>
1698
1699 <tr>
1700 <td>PRINT</td>
1701 <td>W</td>
1702 <td>Send image to your computer printer</td>
1703 <td>Linux users may set the PRINTER (for 'lpr') or LPDEST (for 'lp') environment variables to select the desired printer.</td>
1704 </tr>
1705
1706 <tr>
1707 <td>SCAN</td>
1708 <td>R</td>
1709 <td>Import image from a scanner device</td>
1710 <td>Requires <a href="../index.html">SANE</a> Specify the device name and path as the filename (e.g. <samp>scan:'hpaio:/usb/Officejet_6200_series?serial=CN4ATCE3G20453'</samp>).</td>
1711 </tr>
1712
1713 <tr>
1714 <td>RADIAL_GRADIENT</td>
1715 <td>R</td>
1716 <td>Gradual radial passing from one shade to another</td>
1717 <td>Returns a rendered radial top-to-bottom <a href="../www/gradient.html">gradient image</a> using the specified image size.</td>
1718 </tr>
1719
1720 <tr>
1721 <td>SCANX</td>
1722 <td>R</td>
1723 <td>Import image from the default scanner device</td>
1724 <td> </td>
1725 </tr>
1726
1727 <tr>
1728 <td>SCREENSHOT</td>
1729 <td>R</td>
1730 <td>an image that shows the contents of a computer display. Under Windows, if you have multiple monitors, it returns a screenshot for each monitor.</td>
1731 <td> </td>
1732 </tr>
1733
1734 <tr>
1735 <td>STEGANO</td>
1736 <td>R</td>
1737 <td>Steganographic image</td>
1738 <td>Use <a href="command-line-options.html#size">-size</a> command line option to specify width, height, and offset of the steganographic image</td>
1739 </tr>
1740
1741 <tr>
1742 <td>TILE</td>
1743 <td>R</td>
1744 <td>Tiled image</td>
1745 <td>Create a tiled version of an image at by tiling a image. Use <a href="command-line-options.html#size">-size</a> to specify the tiled image size. Tiles are composited on an image background and therefore is responsive to the <a href="command-line-options.html#compose">-compose</a> option. The image is specified similar to
1746 <samp>TILE:image.miff</samp>.</td>
1747 </tr>
1748
1749 <tr>
1750 <td>UNIQUE</td>
1751 <td>W</td>
1752 <td>Write only unique pixels to the image file.</td>
1753 <td> </td>
1754 </tr>
1755
1756 <tr>
1757 <td>VID</td>
1758 <td>RW</td>
1759 <td>Visual Image Directory</td>
1760 <td>Used to create a thumbnailed directory (tiled thumbnails) of a set of images which may be used to select images to view via the <a href="display.html">display</a> program, or saved to a <a href="#MIFF">MIFF</a> or <a href="#SHTML">SHTML</a> file.</td>
1761 </tr>
1762
1763 <tr>
1764 <td>WIN</td>
1765 <td>RW</td>
1766 <td>Select image from or display image to your computer screen</td>
1767 <td>Only supported under Microsoft Windows.</td>
1768 </tr>
1769
1770 <tr>
1771 <td>X</td>
1772 <td>RW</td>
1773 <td>Select image from or display image to your X server screen</td>
1774 <td>Also see the <a href="../www/import.html">import</a> and <a href="display.html">display</a>
1775 programs.</td>
1776 </tr>
1777
1778 <tr>
1779 <td>XC</td>
1780 <td>R</td>
1781 <td>Canvas image of specified color</td>
1782 <td>An backward compatible alias for the '<samp>canvas:</samp>'
1783 psuedo-file format, used to create a solid color <var>canvas</var> image.
1784 </td>
1785 </tr>
1786 </table>
1787 </div>
1788
1789 <br/>
1790 <h2><a class="anchor" id="builtin-images"></a>Built-in Images</h2>
1791
1792 <p>ImageMagick includes a number of built-in (embedded) images which may be referenced as if they were an image file. The <samp>magick:</samp> format tag may be used via the syntax <samp>magick:</samp><var>name</var> to request an embedded image (e.g. <samp>magick:logo</samp>). For backwards compatibility, the image specifications <samp>GRANITE:</samp>, <samp>LOGO:</samp>, <samp>NETSCAPE:</samp>, and <samp>ROSE:</samp> may also be used to request images with those names.</p>
1793
1794 <div class="pre-scrollabl">
1795 <table class="table table-sm table-hover table-striped table-responsive">
1796 <tr>
1797 <th>Tag</th>
1798 <th>Mode</th>
1799 <th>Description</th>
1800 <th>Notes</th>
1801 </tr>
1802
1803 <tr>
1804 <td>GRANITE</td>
1805 <td>R</td>
1806 <td>128x128 granite texture pattern</td>
1807 <td><img src="../images/granite.png" width="64" height="64" alt="GRANITE"/></td>
1808 </tr>
1809
1810 <tr>
1811 <td><a href="../images/logo.png">LOGO</a></td>
1812 <td>R</td>
1813 <td>ImageMagick Logo, 640x480</td>
1814 <td><img src="../images/logo.jpg" width="123" height="118" alt="Logo"/></td>
1815 </tr>
1816
1817 <tr>
1818 <td> NETSCAPE</td>
1819 <td>R</td>
1820 <td>image using colors in Netscape 216 (6x6x6 ) color cube, 216x144</td>
1821 <td>Most commonly used with the <a href="magick.html">magick</a> and <a href="mogrify.html">magick mogrify</a> programs with the <a href="command-line-options.html#map">-map</a> option to create <var>web safe</var> images.</td>
1822 </tr>
1823
1824 <tr>
1825 <td>ROSE</td>
1826 <td>R</td>
1827 <td>Picture of a rose, 70x46</td>
1828 <td><img src="../images/rose.png" width="70" height="46" alt="ROSE"/></td>
1829 </tr>
1830
1831 <tr>
1832 <td><a href="../images/wizard.png">WIZARD</a></td>
1833 <td>R</td>
1834 <td>ImageMagick Wizard, 480x640</td>
1835 <td><img src="../images/wizard.jpg" width="125" height="167" alt="Logo"/></td>
1836 </tr>
1837
1838 </table></div>
1839
1840 <br/>
1841 <h2><a class="anchor" id="builtin-patterns"></a>Built-in Patterns</h2>
1842
1843 <p>ImageMagick includes a number of built-in (embedded) patterns which may be referenced as if they were an image file. The <samp>pattern:</samp> format tag may be used via the syntax <samp>pattern:</samp><var>name</var> to request an embedded pattern (e.g. <samp>pattern:checkerboard</samp>). The pattern size is controlled with the <a href="command-line-options.html#size">-size</a> command line option.</p>
1844
1845 <div class="pre-scrollable">
1846 <table class="table table-sm table-hover table-striped table-responsive">
1847 <tr>
1848 <th>Tag</th>
1849 <th>Mode</th>
1850 <th>Description</th>
1851 <th>Notes</th>
1852 </tr>
1853
1854 <tr>
1855 <td>BRICKS</td>
1856 <td>R</td>
1857 <td>brick pattern, 16x16</td>
1858 <td><img src="../images/patterns/bricks.png" width="100" height="26" alt="BRICKS" /></td>
1859 </tr>
1860
1861 <tr>
1862 <td>CHECKERBOARD</td>
1863 <td>R</td>
1864 <td>checkerboard pattern, 30x30</td>
1865 <td><img src="../images/patterns/checkerboard.png" width="100" height="26" alt="CHECKERBOARD" /></td>
1866 </tr>
1867
1868 <tr>
1869 <td>CIRCLES</td>
1870 <td>R</td>
1871 <td>circles pattern, 16x16</td>
1872 <td><img src="../images/patterns/circles.png" width="100" height="26" alt="CIRCLES"/></td>
1873 </tr>
1874
1875 <tr>
1876 <td>CROSSHATCH</td>
1877 <td>R</td>
1878 <td>crosshatch pattern, 8x4</td>
1879 <td><img src="../images/patterns/crosshatch.png" width="100" height="26" alt="CROSSHATCH" /></td>
1880 </tr>
1881
1882 <tr>
1883 <td>CROSSHATCH30</td>
1884 <td>R</td>
1885 <td>crosshatch pattern with lines at 30 degrees, 8x4</td>
1886 <td><img src="../images/patterns/crosshatch30.png" width="100" height="26" alt="CROSSHATCH30" /></td>
1887 </tr>
1888
1889 <tr>
1890 <td>CROSSHATCH45</td>
1891 <td>R</td>
1892 <td>crosshatch pattern with lines at 45 degrees, 8x4</td>
1893 <td><img src="../images/patterns/crosshatch45.png" width="100" height="26" alt="CROSSHATCH45" /></td>
1894 </tr>
1895
1896 <tr>
1897 <td>FISHSCALES</td>
1898 <td>R</td>
1899 <td>fish scales pattern, 16x8</td>
1900 <td><img src="../images/patterns/fishscales.png" width="100" height="26" alt="FISHSCALES" /></td>
1901 </tr>
1902
1903 <tr>
1904 <td>GRAY0</td>
1905 <td>R</td>
1906 <td>0% intensity gray, 32x32</td>
1907 <td><img src="../images/patterns/gray0.png" width="100" height="32" alt="GRAY0" /></td>
1908 </tr>
1909
1910 <tr>
1911 <td>GRAY5</td>
1912 <td>R</td>
1913 <td>5% intensity gray, 32x32</td>
1914 <td><img src="../images/patterns/gray5.png" width="100" height="32" alt="GRAY5" /></td>
1915 </tr>
1916
1917 <tr>
1918 <td>GRAY10</td>
1919 <td>R</td>
1920 <td>10% intensity gray, 32x32</td>
1921 <td> <img src="../images/patterns/gray10.png" width="100" height="32" alt="GRAY10" /></td>
1922 </tr>
1923
1924 <tr>
1925 <td>GRAY15</td>
1926 <td>R</td>
1927 <td>15% intensity gray, 32x32</td>
1928 <td><img src="../images/patterns/gray15.png" width="100" height="32" alt="GRAY15" /></td>
1929 </tr>
1930
1931 <tr>
1932 <td>GRAY20</td>
1933 <td>R</td>
1934 <td>20% intensity gray, 32x32</td>
1935 <td><img src="../images/patterns/gray20.png" width="100" height="32" alt="GRAY20" /></td>
1936 </tr>
1937
1938 <tr>
1939 <td>GRAY25</td>
1940 <td>R</td>
1941 <td>25% intensity gray, 32x32</td>
1942 <td><img src="../images/patterns/gray25.png" width="100" height="32" alt="GRAY25" /></td>
1943 </tr>
1944
1945 <tr>
1946 <td>GRAY30</td>
1947 <td>R</td>
1948 <td>30% intensity gray, 32x32</td>
1949 <td><img src="../images/patterns/gray30.png" width="100" height="32" alt="GRAY30" /></td>
1950 </tr>
1951
1952 <tr>
1953 <td>GRAY35</td>
1954 <td>R</td>
1955 <td>35% intensity gray, 32x32</td>
1956 <td><img src="../images/patterns/gray35.png" width="100" height="32" alt="GRAY35" /></td>
1957 </tr>
1958
1959 <tr>
1960 <td>GRAY40</td>
1961 <td>R</td>
1962 <td>40% intensity gray, 32x32</td>
1963 <td><img src="../images/patterns/gray40.png" width="100" height="32" alt="GRAY40" /></td>
1964 </tr>
1965
1966 <tr>
1967 <td>GRAY45</td>
1968 <td>R</td>
1969 <td>45% intensity gray, 32x32</td>
1970 <td><img src="../images/patterns/gray45.png" width="100" height="32" alt="GRAY45" /></td>
1971 </tr>
1972
1973 <tr>
1974 <td>GRAY50</td>
1975 <td>R</td>
1976 <td>50% intensity gray, 32x32</td>
1977 <td><img src="../images/patterns/gray50.png" width="100" height="32" alt="GRAY50" /></td>
1978 </tr>
1979
1980 <tr>
1981 <td>GRAY55</td>
1982 <td>R</td>
1983 <td>55% intensity gray, 32x32</td>
1984 <td><img src="../images/patterns/gray55.png" width="100" height="32" alt="GRAY55" /></td>
1985 </tr>
1986
1987 <tr>
1988 <td>GRAY60</td>
1989 <td>R</td>
1990 <td>60% intensity gray, 32x32</td>
1991 <td><img src="../images/patterns/gray60.png" width="100" height="32" alt="GRAY60" /></td>
1992 </tr>
1993
1994 <tr>
1995 <td>GRAY65</td>
1996 <td>R</td>
1997 <td>65% intensity gray, 32x32</td>
1998 <td><img src="../images/patterns/gray65.png" width="100" height="32" alt="GRAY65" /></td>
1999 </tr>
2000
2001 <tr>
2002 <td>GRAY70</td>
2003 <td>R</td>
2004 <td>70% intensity gray, 32x32</td>
2005 <td><img src="../images/patterns/gray70.png" width="100" height="32" alt="GRAY70" /></td>
2006 </tr>
2007
2008 <tr>
2009 <td>GRAY75</td>
2010 <td>R</td>
2011 <td>75% intensity gray, 32x32</td>
2012 <td><img src="../images/patterns/gray75.png" width="100" height="32" alt="GRAY75" /></td>
2013 </tr>
2014
2015 <tr>
2016 <td>GRAY80</td>
2017 <td>R</td>
2018 <td>80% intensity gray, 32x32</td>
2019 <td> <img src="../images/patterns/gray80.png" width="100" height="32" alt="GRAY80" /></td>
2020 </tr>
2021
2022 <tr>
2023 <td>GRAY85</td>
2024 <td>R</td>
2025 <td>85% intensity gray, 32x32</td>
2026 <td><img src="../images/patterns/gray85.png" width="100" height="32" alt="GRAY85" /></td>
2027 </tr>
2028
2029 <tr>
2030 <td>GRAY90</td>
2031 <td>R</td>
2032 <td>90% intensity gray, 32x32</td>
2033 <td><img src="../images/patterns/gray90.png" width="100" height="32" alt="GRAY90" /></td>
2034 </tr>
2035
2036 <tr>
2037 <td>GRAY95</td>
2038 <td>R</td>
2039 <td>95% intensity gray, 32x32</td>
2040 <td><img src="../images/patterns/gray95.png" width="100" height="32" alt="GRAY95" /></td>
2041 </tr>
2042
2043 <tr>
2044 <td>GRAY100</td>
2045 <td>R</td>
2046 <td>100% intensity gray, 32x32</td>
2047 <td><img src="../images/patterns/gray100.png" width="100" height="32" alt="GRAY100" /></td>
2048 </tr>
2049
2050 <tr>
2051 <td>HEXAGONS</td>
2052 <td>R</td>
2053 <td>hexagon pattern, 30x18</td>
2054 <td><img src="../images/patterns/hexagons.png" width="100" height="26" alt="HEXAGONS" /></td>
2055 </tr>
2056
2057 <tr>
2058 <td>HORIZONTAL</td>
2059 <td>R</td>
2060 <td>horizontal line pattern, 8x4</td>
2061 <td><img src="../images/patterns/horizontal.png" width="100" height="26" alt="HORIZONTAL" /></td>
2062 </tr>
2063
2064 <tr>
2065 <td>HORIZONTAL2</td>
2066 <td>R</td>
2067 <td>horizontal line pattern, 8x8</td>
2068 <td><img src="../images/patterns/horizontal2.png" width="100" height="26" alt="HORIZONTAL2" /></td>
2069 </tr>
2070
2071 <tr>
2072 <td>HORIZONTAL3</td>
2073 <td>R</td>
2074 <td>horizontal line pattern, 9x9</td>
2075 <td><img src="../images/patterns/horizontal3.png" width="100" height="26" alt="HORIZONTAL3" /></td>
2076 </tr>
2077
2078 <tr>
2079 <td>HORIZONTALSAW</td>
2080 <td>R</td>
2081 <td>horizontal saw-tooth pattern, 16x8</td>
2082 <td><img src="../images/patterns/horizontalsaw.png" width="100" height="26" alt="HORIZONTALSAW" /></td>
2083 </tr>
2084
2085 <tr>
2086 <td>HS_BDIAGONAL</td>
2087 <td>R</td>
2088 <td>backward diagonal line pattern (45 degrees slope), 8x8</td>
2089 <td><img src="../images/patterns/hs_bdiagonal.png" width="100" height="26" alt="HS_BDIAGONAL" /></td>
2090 </tr>
2091
2092 <tr>
2093 <td>HS_CROSS</td>
2094 <td>R</td>
2095 <td>cross line pattern, 8x8</td>
2096 <td><img src="../images/patterns/hs_cross.png" width="100" height="26" alt="HS_CROSS" /></td>
2097 </tr>
2098
2099 <tr>
2100 <td>HS_DIAGCROSS</td>
2101 <td>R</td>
2102 <td>diagonal line cross pattern (45 degrees slope), 8x8</td>
2103 <td><img src="../images/patterns/hs_diagcross.png" width="100" height="26" alt="HS_DIAGCROSS" /></td>
2104 </tr>
2105
2106 <tr>
2107 <td>HS_FDIAGONAL</td>
2108 <td>R</td>
2109 <td>forward diagonal line pattern (45 degrees slope), 8x8</td>
2110 <td><img src="../images/patterns/hs_fdiagonal.png" width="100" height="26" alt="HS_FDIAGONAL" /></td>
2111 </tr>
2112
2113 <tr>
2114 <td>HS_HORIZONTAL</td>
2115 <td>R</td>
2116 <td>horizontal line pattern, 8x8</td>
2117 <td><img src="../images/patterns/hs_horizontal.png" width="100" height="26" alt="HS_HORIZONTAL" /></td>
2118 </tr>
2119
2120 <tr>
2121 <td>HS_VERTICAL</td>
2122 <td>R</td>
2123 <td>vertical line pattern, 8x8</td>
2124 <td><img src="../images/patterns/hs_vertical.png" width="100" height="26" alt="HS_VERTICAL" /></td>
2125 </tr>
2126
2127 <tr>
2128 <td>LEFT30</td>
2129 <td>R</td>
2130 <td>forward diagonal pattern (30 degrees slope), 8x4</td>
2131 <td><img src="../images/patterns/left30.png" width="100" height="26" alt="LEFT0" /></td>
2132 </tr>
2133
2134 <tr>
2135 <td>LEFT45</td>
2136 <td>R</td>
2137 <td>forward diagonal line pattern (45 degrees slope), 8x8</td>
2138 <td><img src="../images/patterns/left45.png" width="100" height="26" alt="LEFT45" /></td>
2139 </tr>
2140
2141 <tr>
2142 <td>LEFTSHINGLE</td>
2143 <td>R</td>
2144 <td>left shingle pattern, 24x24</td>
2145 <td><img src="../images/patterns/leftshingle.png" width="100" height="26" alt="LEFTSHINGLE" /></td>
2146 </tr>
2147
2148 <tr>
2149 <td>OCTAGONS</td>
2150 <td>R</td>
2151 <td>octagons pattern, 16x16</td>
2152 <td><img src="../images/patterns/octagons.png" width="100" height="26" alt="OCTAGONS" /></td>
2153 </tr>
2154
2155 <tr>
2156 <td>RIGHT30</td>
2157 <td>R</td>
2158 <td>backward diagonal line pattern (30 degrees) 8x4</td>
2159 <td><img src="../images/patterns/right30.png" width="100" height="26" alt="RIGHT30" /></td>
2160 </tr>
2161
2162 <tr>
2163 <td>RIGHT45</td>
2164 <td>R</td>
2165 <td>backward diagonal line pattern (30 degrees), 8x8</td>
2166 <td><img src="../images/patterns/right45.png" width="100" height="26" alt="RIGHT45" /></td>
2167 </tr>
2168
2169 <tr>
2170 <td>RIGHTSHINGLE</td>
2171 <td>R</td>
2172 <td>right shingle pattern, 24x24</td>
2173 <td><img src="../images/patterns/rightshingle.png" width="100" height="26" alt="RIGHTSHINGLE" /></td>
2174 </tr>
2175
2176 <tr>
2177 <td>SMALLFISHSCALES</td>
2178 <td>R</td>
2179 <td>small fish scales pattern, 8x8</td>
2180 <td><img src="../images/patterns/smallfishscales.png" width="100" height="26" alt="SMALLFISHSCALES" /></td>
2181 </tr>
2182
2183 <tr>
2184 <td>VERTICAL</td>
2185 <td>R</td>
2186 <td>vertical line pattern, 8x8</td>
2187 <td><img src="../images/patterns/vertical.png" width="100" height="26" alt="VERTICAL" /></td>
2188 </tr>
2189
2190 <tr>
2191 <td>VERTICAL2</td>
2192 <td>R</td>
2193 <td>vertical line pattern, 8x8</td>
2194 <td><img src="../images/patterns/vertical2.png" width="100" height="26" alt="VERTICAL2" /></td>
2195 </tr>
2196
2197 <tr>
2198 <td>VERTICAL3</td>
2199 <td>R</td>
2200 <td>vertical line pattern, 9x9</td>
2201 <td><img src="../images/patterns/vertical3.png" width="100" height="26" alt="VERTICAL3" /></td>
2202 </tr>
2203
2204 <tr>
2205 <td>VERTICALBRICKS</td>
2206 <td>R</td>
2207 <td>vertical brick pattern, 16x16</td>
2208 <td><img src="../images/patterns/verticalbricks.png" width="100" height="26" alt="VERTICALBRICKS" /></td>
2209 </tr>
2210
2211 <tr>
2212 <td>VERTICALLEFTSHINGLE</td>
2213 <td>R</td>
2214 <td>vertical left shingle pattern, 24x24</td>
2215 <td><img src="../images/patterns/verticalleftshingle.png" width="100" height="26" alt="VERTICALLEFTSHINGLE" /></td>
2216 </tr>
2217
2218 <tr>
2219 <td>VERTICALRIGHTSHINGLE</td>
2220 <td>R</td>
2221 <td>vertical right shingle pattern, 24x24</td>
2222 <td><img src="../images/patterns/verticalrightshingle.png" width="100" height="26" alt="VERTICALRIGHTSHINGLE" /></td>
2223 </tr>
2224
2225 <tr>
2226 <td>VERTICALSAW</td>
2227 <td>R</td>
2228 <td>vertical saw-tooth pattern, 8x16</td>
2229 <td><img src="../images/patterns/verticalsaw.png" width="100" height="26" alt="VERTICALSAW" /></td>
2230 </tr>
2231 </table></div>
2232
2233 <br/>
2234 <h2><a class="anchor" id="embedded"></a>Embedded Image Profiles</h2>
2235
2236 <p>ImageMagick provides a number of format identifiers which are used to add, remove, and save embedded profiles for images which can support embedded profiles. Image types which may contain embedded profiles are TIFF, JPEG, and PDF.</p>
2237
2238 <div class="pre-scrollable">
2239 <table class="table table-sm table-hover table-striped table-responsive">
2240 <tbody>
2241 <tr>
2242 <th>Tag</th>
2243 <th>Mode</th>
2244 <th>Description</th>
2245 <th>Notes</th>
2246 </tr>
2247
2248 <tr>
2249 <td>8BIM</td>
2250 <td>RW</td>
2251 <td>Photoshop resource format (binary)</td>
2252 <td> </td>
2253 </tr>
2254
2255 <tr>
2256 <td>8BIMTEXT</td>
2257 <td>RW</td>
2258 <td>Photoshop resource format (ASCII)</td>
2259 <td>An ASCII representation of the 8BIM format.</td>
2260 </tr>
2261
2262 <tr>
2263 <td>APP1</td>
2264 <td>RW</td>
2265 <td>Raw application information</td>
2266 <td> </td>
2267 </tr>
2268
2269 <tr>
2270 <td>APP1JPEG</td>
2271 <td>RW</td>
2272 <td>Raw JPEG binary data</td>
2273 <td>Profile in JPEG wrapper.</td>
2274 </tr>
2275
2276 <tr>
2277 <td>ICC</td>
2278 <td>RW</td>
2279 <td>International Color Consortium color profile</td>
2280 <td>Also known as <samp>ICM</samp>. To read, use <a href="command-line-options.html#profile">-profile</a> with
2281 <a href="magick.html">magick</a>.</td>
2282 </tr>
2283
2284 <tr>
2285 <td>IPTC</td>
2286 <td>RW</td>
2287 <td>IPTC Newsphoto (binary)</td>
2288 <td>To read, use <a href="command-line-options.html#profile">-profile</a> with <a href="magick.html">magick</a></td>
2289 </tr>
2290
2291 <tr>
2292 <td>IPTCTEXT</td>
2293 <td>RW</td>
2294 <td>IPTC Newsphoto (ASCII)</td>
2295 <td>An ASCII representation of the IPTC format.</td>
2296 </tr>
2297 </tbody>
2298 </table></div>
2299
2300 </div>
2301 <a aria-label="About ImageMagick" class="btn btn-outline-warning mt-3" href="../index.html">About ImageMagick</a>
2302 </main><!-- /.container -->
2303 <footer class="text-center pt-5 my-5 text-body-secondary border-top">
2304 <div class="container-fluid">
2305 <a href="security-policy.html">Security</a> •
2306 <a href="../www/news.html">News</a>
2307
2308 <a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico" /></a>
2309
2310 <a href="../www/links.html">Related</a> •
2311 <a href="../www/sitemap.html">Sitemap</a>
•2312 <br />
2313 <a href="../www/support.html">Sponsor</a> •
2314 <a href="../www/cite.html">Cite</a> •
2315 <a href="http://pgp.mit.edu/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
2316 <a href="../www/https://imagemagick.org/script/contact.php">Contact Us</a>
•2317 <br />
2318 <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"><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> •
2319 <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"><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>
•2320 <br />
2321 <small>Copyright © 1999 ImageMagick Studio LLC</small>
2322 </div>
2323 </footer>
2324 </div>
2325
2326 <!-- Javascript assets -->
2327 <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
2328 ~
2329 </body>
2330 </html>
2331 <!-- Magick Cache 3rd October 2025 21:07 -->