| 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 |
|
| 11 |
<title>ImageMagick | Exceptions</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 |
|
| 15 |
<link rel="canonical" href="exception.html" /> |
| 16 |
|
| 17 |
|
| 18 |
<meta name="robots" content="index, follow" /> |
| 19 |
|
| 20 |
|
| 21 |
<meta name="theme-color" content="#000000" /> |
| 22 |
|
| 23 |
|
| 24 |
<meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" /> |
| 25 |
|
| 26 |
|
| 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 |
|
| 31 |
<link rel="preconnect" href="../index.html" /> |
| 32 |
|
| 33 |
|
| 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 |
|
| 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 |
|
| 62 |
<meta property="og:title" content="ImageMagick | Exceptions" /> |
| 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/exception.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 |
|
| 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 | Exceptions" /> |
| 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 |
|
| 81 |
<script type="application/ld+json"> |
| 82 |
{ |
| 83 |
"@context": "https://schema.org", |
| 84 |
"@type": "SoftwareApplication", |
| 85 |
"name": "ImageMagick", |
| 86 |
"url": "../www/exception.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 |
"Exceptions", |
| 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 |
|
| 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">Exceptions</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 |
|
| 211 |
<p class="lead">ImageMagick returns a status of 0 whenever a command or algorithm successfully complete without complaint. A warning code generally is typically just a notice that something unusual occurred but the command or algorithm still completed and most likely the results are still usable. An error means the command or algorithm could not complete as expected and any results are unreliable. A fatal error means the command or algorithm could not complete and the process exits prematurely and no results are returned.</p> |
| 212 |
|
| 213 |
<table class="table table-sm table-hover table-striped table-responsive caption-top"> |
| 214 |
<caption>ImageMagick Error and Warning Codes</caption> |
| 215 |
<thead> |
| 216 |
<tr> |
| 217 |
<th>Domain</th> |
| 218 |
<th>Description</th> |
| 219 |
<th>Warning</th> |
| 220 |
<th>Error</th> |
| 221 |
<th>Fatal Error</th> |
| 222 |
</tr> |
| 223 |
</thead> |
| 224 |
<tbody> |
| 225 |
<tr> |
| 226 |
<td>Success</td> |
| 227 |
<td>the command or algorithm completed successfully without complaint</td> |
| 228 |
<td>0</td> |
| 229 |
<td>0</td> |
| 230 |
<td>0</td> |
| 231 |
</tr> |
| 232 |
|
| 233 |
<tr> |
| 234 |
<td>Resource Limit</td> |
| 235 |
<td>a program resource is exhausted (e.g. not enough memory)</td> |
| 236 |
<td>300</td> |
| 237 |
<td>400</td> |
| 238 |
<td>700</td> |
| 239 |
</tr> |
| 240 |
|
| 241 |
<tr> |
| 242 |
<td>Type</td> |
| 243 |
<td>A font is unavailable; a substitution may have occurred</td> |
| 244 |
<td>305</td> |
| 245 |
<td>405</td> |
| 246 |
<td>705</td> |
| 247 |
</tr> |
| 248 |
|
| 249 |
<tr> |
| 250 |
<td>Option</td> |
| 251 |
<td>a command-line option was malformed</td> |
| 252 |
<td>310</td> |
| 253 |
<td>410</td> |
| 254 |
<td>710</td> |
| 255 |
</tr> |
| 256 |
|
| 257 |
<tr> |
| 258 |
<td>Delegate</td> |
| 259 |
<td>an ImageMagick <i>delegate</i> failed to complete</td> |
| 260 |
<td>315</td> |
| 261 |
<td>415</td> |
| 262 |
<td>715</td> |
| 263 |
</tr> |
| 264 |
|
| 265 |
<tr> |
| 266 |
<td>Missing Delegate</td> |
| 267 |
<td>the image type can not be read or written because the appropriate <i>Delegate</i> is missing</td> |
| 268 |
<td>320</td> |
| 269 |
<td>420</td> |
| 270 |
<td>720</td> |
| 271 |
</tr> |
| 272 |
|
| 273 |
<tr> |
| 274 |
<td>Corrupt Image</td> |
| 275 |
<td>the image file may be corrupt</td> |
| 276 |
<td>325</td> |
| 277 |
<td>425</td> |
| 278 |
<td>725</td> |
| 279 |
</tr> |
| 280 |
|
| 281 |
<tr> |
| 282 |
<td>FileOpen</td> |
| 283 |
<td>the image file could not be opened for reading or writing</td> |
| 284 |
<td>330</td> |
| 285 |
<td>430</td> |
| 286 |
<td>730</td> |
| 287 |
</tr> |
| 288 |
|
| 289 |
<tr> |
| 290 |
<td>Blob</td> |
| 291 |
<td>a binary large object could not be allocated, read, or written</td> |
| 292 |
<td>335</td> |
| 293 |
<td>435</td> |
| 294 |
<td>735</td> |
| 295 |
</tr> |
| 296 |
|
| 297 |
<tr> |
| 298 |
<td>Stream</td> |
| 299 |
<td>there was a problem reading or writing from a stream</td> |
| 300 |
<td>340</td> |
| 301 |
<td>440</td> |
| 302 |
<td>740</td> |
| 303 |
</tr> |
| 304 |
|
| 305 |
<tr> |
| 306 |
<td>Cache</td> |
| 307 |
<td>pixels could not be read or written to the pixel cache</td> |
| 308 |
<td>345</td> |
| 309 |
<td>445</td> |
| 310 |
<td>745</td> |
| 311 |
</tr> |
| 312 |
|
| 313 |
<tr> |
| 314 |
<td>Coder</td> |
| 315 |
<td>there was a problem with an image coder</td> |
| 316 |
<td>350</td> |
| 317 |
<td>450</td> |
| 318 |
<td>750</td> |
| 319 |
</tr> |
| 320 |
|
| 321 |
<tr> |
| 322 |
<td>Module</td> |
| 323 |
<td>there was a problem with an image module</td> |
| 324 |
<td>355</td> |
| 325 |
<td>455</td> |
| 326 |
<td>755</td> |
| 327 |
</tr> |
| 328 |
|
| 329 |
<tr> |
| 330 |
<td>Draw</td> |
| 331 |
<td>a drawing operation failed</td> |
| 332 |
<td>360</td> |
| 333 |
<td>460</td> |
| 334 |
<td>760</td> |
| 335 |
</tr> |
| 336 |
|
| 337 |
<tr> |
| 338 |
<td>Image</td> |
| 339 |
<td>the operation could not complete due to an incompatible image</td> |
| 340 |
<td>365</td> |
| 341 |
<td>465</td> |
| 342 |
<td>765</td> |
| 343 |
</tr> |
| 344 |
|
| 345 |
<tr> |
| 346 |
<td>Wand</td> |
| 347 |
<td>there was a problem specific to the MagickWand API</td> |
| 348 |
<td>370</td> |
| 349 |
<td>470</td> |
| 350 |
<td>770</td> |
| 351 |
</tr> |
| 352 |
|
| 353 |
<tr> |
| 354 |
<td>Random</td> |
| 355 |
<td>there is a problem generating a true or pseudo-random number</td> |
| 356 |
<td>375</td> |
| 357 |
<td>475</td> |
| 358 |
<td>775</td> |
| 359 |
</tr> |
| 360 |
|
| 361 |
<tr> |
| 362 |
<td>XServer</td> |
| 363 |
<td>an X resource is unavailable</td> |
| 364 |
<td>380</td> |
| 365 |
<td>480</td> |
| 366 |
<td>780</td> |
| 367 |
</tr> |
| 368 |
|
| 369 |
<tr> |
| 370 |
<td>Monitor</td> |
| 371 |
<td>there was a problem activating the progress monitor</td> |
| 372 |
<td>385</td> |
| 373 |
<td>485</td> |
| 374 |
<td>785</td> |
| 375 |
</tr> |
| 376 |
|
| 377 |
<tr> |
| 378 |
<td>Registry</td> |
| 379 |
<td>there was a problem getting or setting the registry</td> |
| 380 |
<td>390</td> |
| 381 |
<td>490</td> |
| 382 |
<td>790</td> |
| 383 |
</tr> |
| 384 |
|
| 385 |
<tr> |
| 386 |
<td>Configure</td> |
| 387 |
<td>there was a problem getting a configuration file</td> |
| 388 |
<td>395</td> |
| 389 |
<td>495</td> |
| 390 |
<td>795</td> |
| 391 |
</tr> |
| 392 |
|
| 393 |
<tr> |
| 394 |
<td>Policy</td> |
| 395 |
<td>a policy denies access to a delegate, coder, filter, path, or resource.</td> |
| 396 |
<td>399</td> |
| 397 |
<td>499</td> |
| 398 |
<td>799</td> |
| 399 |
</tr> |
| 400 |
</tbody> |
| 401 |
</table> |
| 402 |
|
| 403 |
</div> |
| 404 |
<a aria-label="About ImageMagick" class="btn btn-outline-warning mt-3" href="../index.html">About ImageMagick</a> |
| 405 |
</main> |
| 406 |
<footer class="text-center pt-5 my-5 text-body-secondary border-top"> |
| 407 |
<div class="container-fluid"> |
| 408 |
<a href="security-policy.html">Security</a> • |
| 409 |
<a href="../www/news.html">News</a> |
| 410 |
|
| 411 |
<a href="#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico" /></a> |
| 412 |
|
| 413 |
<a href="../www/links.html">Related</a> • |
| 414 |
<a href="../www/sitemap.html">Sitemap</a> |
| •415 |
<br /> |
| 416 |
<a href="../www/support.html">Sponsor</a> • |
| 417 |
<a href="../www/cite.html">Cite</a> • |
| 418 |
<a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> • |
| 419 |
<a href="../www/https://imagemagick.org/script/contact.php">Contact Us</a> |
| •420 |
<br /> |
| 421 |
<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> • |
| 422 |
<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> |
| •423 |
<br /> |
| 424 |
<small>Copyright © 1999 ImageMagick Studio LLC</small> |
| 425 |
</div> |
| 426 |
</footer> |
| 427 |
</div> |
| 428 |
|
| 429 |
|
| 430 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script> |
| 431 |
~ |
| 432 |
</body> |
| 433 |
</html> |
| 434 |
|