1 2 3 4 5 <!DOCTYPE html> 6 <html lang="en"> 7 <head> 8 <meta charset="utf-8" /> 9 <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,shrink-to-fit=no" /> 10 <title>Exceptions @ ImageMagick</title> 11 <meta name="application-name" content="ImageMagick" /> 12 <meta name="description" content="Use ImageMagick to create, edit, compose, or convert bitmap images. You can resize your image, crop it, change its shades and colors, add captions, among other operations." /> 13 <meta name="application-url" content="https://imagemagick.org" /> 14 <meta name="generator" content="PHP" /> 15 <meta name="keywords" content="exceptions, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert" /> 16 <meta name="rating" content="GENERAL" /> 17 <meta name="robots" content="INDEX, FOLLOW" /> 18 <meta name="generator" content="ImageMagick Studio LLC" /> 19 <meta name="author" content="ImageMagick Studio LLC" /> 20 <meta name="revisit-after" content="2 DAYS" /> 21 <meta name="resource-type" content="document" /> 22 <meta name="copyright" content="Copyright (c) 1999-2019 ImageMagick Studio LLC" /> 23 <meta name="distribution" content="Global" /> 24 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" /> 25 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" /> 26 <link href="exception.html" rel="canonical" /> 27 <link href="../images/wand.png" rel="icon" /> 28 <link href="../images/wand.ico" rel="shortcut icon" /> 29 <link href="assets/magick.css" rel="stylesheet" /> 30 </head> 31 <body> 32 <header> 33 <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> 34 <a class="navbar-brand" href="../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../images/wand.ico"/></a> 35 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsMagick" aria-controls="navbarsMagick" aria-expanded="false" aria-label="Toggle navigation"> 36 <span class="navbar-toggler-icon"></span> 37 </button> 38 39 <div class="navbar-collapse collapse" id="navbarsMagick" style=""> 40 <ul class="navbar-nav mr-auto"> 41 <li class="nav-item "> 42 <a class="nav-link" href="api/quantize.html">Home <span class="sr-only">(current)</span></a> 43 </li> 44 <li class="nav-item "> 45 <a class="nav-link" href="../www/download.html">Download</a> 46 </li> 47 <li class="nav-item "> 48 <a class="nav-link" href="../www/command-line-tools.html">Tools</a> 49 </li> 50 <li class="nav-item "> 51 <a class="nav-link" href="../www/command-line-processing.html">Command-line</a> 52 </li> 53 <li class="nav-item "> 54 <a class="nav-link" href="../www/resources.html">Resources</a> 55 </li> 56 <li class="nav-item "> 57 <a class="nav-link" href="../www/develop.html">Develop</a> 58 </li> 59 <li class="nav-item"> 60 <a class="nav-link" target="_blank" href="https://imagemagick.org/discourse-server/">Community</a> 61 </li> 62 </ul> 63 <form class="form-inline my-2 my-lg-0" action="https://imagemagick.org/script/search.php"> 64 <input class="form-control mr-sm-2" type="text" name="q" placeholder="Search" aria-label="Search"> 65 <button class="btn btn-outline-success my-2 my-sm-0" type="submit" name="sa">Search</button> 66 </form> 67 </div> 68 </nav> 69 <div class="container"> 70 <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" 71 style="display:block" 72 data-ad-client="ca-pub-3129977114552745" 73 data-ad-slot="6345125851" 74 data-ad-format="auto"></ins> 75 <script> 76 (adsbygoogle = window.adsbygoogle || []).push({}); 77 </script> 78 79 </div> 80 </header> 81 <main class="container"> 82 <div class="magick-template"> 83 <div class="magick-header"> 84 85 <p class="lead magick-description">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> 86 87 <table class="table table-sm table-striped"> 88 <caption>ImageMagick Error and Warning Codes</caption> 89 <tbody> 90 <tr> 91 <th>Domain</th> 92 <th>Description</th> 93 <th>Warning</th> 94 <th>Error</th> 95 <th>Fatal Error</th> 96 </tr> 97 98 <tr> 99 <td>Success</td> 100 <td>the command or algorithm completed successfully without complaint</td> 101 <td>0</td> 102 <td>0</td> 103 <td>0</td> 104 </tr> 105 106 <tr> 107 <td>Resource Limit</td> 108 <td>a program resource is exhausted (e.g. not enough memory)</td> 109 <td>300</td> 110 <td>400</td> 111 <td>700</td> 112 </tr> 113 114 <tr> 115 <td>Type</td> 116 <td>A font is unavailable; a substitution may have occurred</td> 117 <td>305</td> 118 <td>405</td> 119 <td>705</td> 120 </tr> 121 122 <tr> 123 <td>Option</td> 124 <td>a command-line option was malformed</td> 125 <td>310</td> 126 <td>410</td> 127 <td>710</td> 128 </tr> 129 130 <tr> 131 <td>Delegate</td> 132 <td>an ImageMagick <i>delegate</i> failed to complete</td> 133 <td>315</td> 134 <td>415</td> 135 <td>715</td> 136 </tr> 137 138 <tr> 139 <td>Missing Delegate</td> 140 <td>the image type can not be read or written because the appropriate <i>Delegate</i> is missing</td> 141 <td>320</td> 142 <td>420</td> 143 <td>720</td> 144 </tr> 145 146 <tr> 147 <td>Corrupt Image</td> 148 <td>the image file may be corrupt</td> 149 <td>325</td> 150 <td>425</td> 151 <td>725</td> 152 </tr> 153 154 <tr> 155 <td>FileOpen</td> 156 <td>the image file could not be opened for reading or writing</td> 157 <td>330</td> 158 <td>430</td> 159 <td>730</td> 160 </tr> 161 162 <tr> 163 <td>Blob</td> 164 <td>a binary large object could not be allocated, read, or written</td> 165 <td>335</td> 166 <td>435</td> 167 <td>735</td> 168 </tr> 169 170 <tr> 171 <td>Stream</td> 172 <td>there was a problem reading or writing from a stream</td> 173 <td>340</td> 174 <td>440</td> 175 <td>740</td> 176 </tr> 177 178 <tr> 179 <td>Cache</td> 180 <td>pixels could not be read or written to the pixel cache</td> 181 <td>345</td> 182 <td>445</td> 183 <td>745</td> 184 </tr> 185 186 <tr> 187 <td>Coder</td> 188 <td>there was a problem with an image coder</td> 189 <td>350</td> 190 <td>450</td> 191 <td>750</td> 192 </tr> 193 194 <tr> 195 <td>Module</td> 196 <td>there was a problem with an image module</td> 197 <td>355</td> 198 <td>455</td> 199 <td>755</td> 200 </tr> 201 202 <tr> 203 <td>Draw</td> 204 <td>a drawing operation failed</td> 205 <td>360</td> 206 <td>460</td> 207 <td>760</td> 208 </tr> 209 210 <tr> 211 <td>Image</td> 212 <td>the operation could not complete due to an incompatible image</td> 213 <td>365</td> 214 <td>465</td> 215 <td>765</td> 216 </tr> 217 218 <tr> 219 <td>Wand</td> 220 <td>there was a problem specific to the MagickWand API</td> 221 <td>370</td> 222 <td>470</td> 223 <td>770</td> 224 </tr> 225 226 <tr> 227 <td>Random</td> 228 <td>there is a problem generating a true or pseudo-random number</td> 229 <td>375</td> 230 <td>475</td> 231 <td>775</td> 232 </tr> 233 234 <tr> 235 <td>XServer</td> 236 <td>an X resource is unavailable</td> 237 <td>380</td> 238 <td>480</td> 239 <td>780</td> 240 </tr> 241 242 <tr> 243 <td>Monitor</td> 244 <td>there was a problem activating the progress monitor</td> 245 <td>385</td> 246 <td>485</td> 247 <td>785</td> 248 </tr> 249 250 <tr> 251 <td>Registry</td> 252 <td>there was a problem getting or setting the registry</td> 253 <td>390</td> 254 <td>490</td> 255 <td>790</td> 256 </tr> 257 258 <tr> 259 <td>Configure</td> 260 <td>there was a problem getting a configuration file</td> 261 <td>395</td> 262 <td>495</td> 263 <td>795</td> 264 </tr> 265 266 <tr> 267 <td>Policy</td> 268 <td>a policy denies access to a delegate, coder, filter, path, or resource.</td> 269 <td>399</td> 270 <td>499</td> 271 <td>799</td> 272 </tr> 273 </tbody> 274 </table> 275 276 </div> 277 </div> 278 </main><!-- /.container --> 279 <footer class="magick-footer"> 280 <p><a href="../www/security-policy.html">Security</a> 281 <a href="../www/architecture.html">Architecture</a> 282 <a href="../www/links.html">Related</a> 283 <a href="../www/sitemap.html">Sitemap</a> 284 285 <a href="exception.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico"/></a> 286 287 <a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> 288 <a href="../www/support.html">Donate</a> 289 <a href="../www/https://imagemagick.org/script/contact.php">Contact Us</a> 290 <br/> 291 <small> 1999-2019 ImageMagick Studio LLC</small></p> 292 </footer> 293 294 <!-- Javascript assets --> 295 <script src="assets/magick.js" crossorigin="anonymous"></script> 296 <script>window.jQuery || document.write('<script src="https://localhost/ajax/libs/jquery/3.3.1/jquery.min.js"><\/script>')</script> 297 </body> 298 </html> 299