1 2 3 4 5 <!DOCTYPE html> 6 <html lang="en"> 7 <head> 8 <title>ImageMagick: Exceptions</title> 9 <meta charset="utf-8" /> 10 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 11 <meta name="viewport" content="width=device-width, initial-scale=1" /> 12 <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 13 <meta name="application-name" content="ImageMagick"/> 14 <meta name="description" content="ImageMagick is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bzier curves."/> 15 <meta name="application-url" content="http://www.imagemagick.org"/> 16 <meta name="generator" content="PHP"/> 17 <meta name="keywords" content="exceptions, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 18 <meta name="rating" content="GENERAL"/> 19 <meta name="robots" content="INDEX, FOLLOW"/> 20 <meta name="generator" content="ImageMagick Studio LLC"/> 21 <meta name="author" content="ImageMagick Studio LLC"/> 22 <meta name="revisit-after" content="2 DAYS"/> 23 <meta name="resource-type" content="document"/> 24 <meta name="copyright" content="Copyright (c) 1999-2016 ImageMagick Studio LLC"/> 25 <meta name="distribution" content="Global"/> 26 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/> 27 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" /> 28 <link rel="icon" href="../images/wand.png"/> 29 <link rel="shortcut icon" href="../images/wand.ico"/> 30 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto:900,400,400italic,700,700italic,300,300italic|Open+Sans:300italic,400italic,700italic,300,400,600,700"> 31 <link rel="stylesheet" href="css/magick.css"/> 32 </head> 33 <body> 34 <div class="main"> 35 <div class="magick-masthead"> 36 <div class="container"> 37 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" 38 style="display:block" 39 data-ad-client="ca-pub-3129977114552745" 40 data-ad-slot="6345125851" 41 data-ad-format="auto"></ins> 42 <script> 43 (adsbygoogle = window.adsbygoogle || []).push({}); 44 </script> 45 <nav class="magick-nav"> 46 <a class="magick-nav-item " href="../index.html">Home</a> 47 <a class="magick-nav-item " href="binary-releases.html">Download</a> 48 <a class="magick-nav-item " href="command-line-tools.html">Tools</a> 49 <a class="magick-nav-item " href="command-line-processing.html">Command-line</a> 50 <a class="magick-nav-item " href="resources.html">Resources</a> 51 <a class="magick-nav-item " href="api.html">Develop</a> 52 <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a> 53 <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a> 54 </nav> 55 </div> 56 </div> 57 <div class="container"> 58 <div class="magick-header"> 59 60 <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> 61 62 <table class="table table-condensed table-striped"> 63 <caption>ImageMagick Error and Warning Codes</caption> 64 <tbody> 65 <tr> 66 <th>Domain</th> 67 <th>Description</th> 68 <th>Warning</th> 69 <th>Error</th> 70 <th>Fatal Error</th> 71 </tr> 72 73 <tr> 74 <td>Success</td> 75 <td>the command or algorithm completed successfully without complaint</td> 76 <td>0</td> 77 <td>0</td> 78 <td>0</td> 79 </tr> 80 81 <tr> 82 <td>Resource Limit</td> 83 <td>a program resource is exhausted (e.g. not enough memory)</td> 84 <td>300</td> 85 <td>400</td> 86 <td>700</td> 87 </tr> 88 89 <tr> 90 <td>Type</td> 91 <td>A font is unavailable; a substitution may have occurred</td> 92 <td>305</td> 93 <td>405</td> 94 <td>705</td> 95 </tr> 96 97 <tr> 98 <td>Option</td> 99 <td>a command-line option was malformed</td> 100 <td>310</td> 101 <td>410</td> 102 <td>710</td> 103 </tr> 104 105 <tr> 106 <td>Delegate</td> 107 <td>an ImageMagick <i>delegate</i> failed to complete</td> 108 <td>315</td> 109 <td>415</td> 110 <td>715</td> 111 </tr> 112 113 <tr> 114 <td>Missing Delegate</td> 115 <td>the image type can not be read or written because the appropriate <i>Delegate</i> is missing</td> 116 <td>320</td> 117 <td>420</td> 118 <td>720</td> 119 </tr> 120 121 <tr> 122 <td>Corrupt Image</td> 123 <td>the image file may be corrupt</td> 124 <td>325</td> 125 <td>425</td> 126 <td>725</td> 127 </tr> 128 129 <tr> 130 <td>FileOpen</td> 131 <td>the image file could not be opened for reading or writing</td> 132 <td>330</td> 133 <td>430</td> 134 <td>730</td> 135 </tr> 136 137 <tr> 138 <td>Blob</td> 139 <td>a binary large object could not be allocated, read, or written</td> 140 <td>335</td> 141 <td>435</td> 142 <td>735</td> 143 </tr> 144 145 <tr> 146 <td>Stream</td> 147 <td>there was a problem reading or writing from a stream</td> 148 <td>340</td> 149 <td>440</td> 150 <td>740</td> 151 </tr> 152 153 <tr> 154 <td>Cache</td> 155 <td>pixels could not be read or written to the pixel cache</td> 156 <td>345</td> 157 <td>445</td> 158 <td>745</td> 159 </tr> 160 161 <tr> 162 <td>Coder</td> 163 <td>there was a problem with an image coder</td> 164 <td>350</td> 165 <td>450</td> 166 <td>750</td> 167 </tr> 168 169 <tr> 170 <td>Module</td> 171 <td>there was a problem with an image module</td> 172 <td>355</td> 173 <td>455</td> 174 <td>755</td> 175 </tr> 176 177 <tr> 178 <td>Draw</td> 179 <td>a drawing operation failed</td> 180 <td>360</td> 181 <td>460</td> 182 <td>760</td> 183 </tr> 184 185 <tr> 186 <td>Image</td> 187 <td>the operation could not complete due to an incompatible image</td> 188 <td>365</td> 189 <td>465</td> 190 <td>765</td> 191 </tr> 192 193 <tr> 194 <td>Wand</td> 195 <td>there was a problem specific to the MagickWand API</td> 196 <td>370</td> 197 <td>470</td> 198 <td>770</td> 199 </tr> 200 201 <tr> 202 <td>Random</td> 203 <td>there is a problem generating a true or pseudo-random number</td> 204 <td>375</td> 205 <td>475</td> 206 <td>775</td> 207 </tr> 208 209 <tr> 210 <td>XServer</td> 211 <td>an X resource is unavailable</td> 212 <td>380</td> 213 <td>480</td> 214 <td>780</td> 215 </tr> 216 217 <tr> 218 <td>Monitor</td> 219 <td>there was a problem activating the progress monitor</td> 220 <td>385</td> 221 <td>485</td> 222 <td>785</td> 223 </tr> 224 225 <tr> 226 <td>Registry</td> 227 <td>there was a problem getting or setting the registry</td> 228 <td>390</td> 229 <td>490</td> 230 <td>790</td> 231 </tr> 232 233 <tr> 234 <td>Configure</td> 235 <td>there was a problem getting a configuration file</td> 236 <td>395</td> 237 <td>495</td> 238 <td>795</td> 239 </tr> 240 241 <tr> 242 <td>Policy</td> 243 <td>a policy denies access to a delegate, coder, filter, path, or resource.</td> 244 <td>399</td> 245 <td>499</td> 246 <td>799</td> 247 </tr> 248 </tbody> 249 </table> 250 251 </div> 252 <footer class="magick-footer"> 253 <p><a href="support.html">Donate</a> 254 <a href="sitemap.html">Sitemap</a> 255 <a href="links.html">Related</a> 256 <a href="architecture.html">Architecture</a> 257 </p> 258 <p><a href="exception.html#">Back to top</a> 259 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> 260 <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p> 261 <p><small> 1999-2016 ImageMagick Studio LLC</small></p> 262 </footer> 263 </div><!-- /.container --> 264 265 <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script> 266 <script src="../js/magick.html"></script> 267 </div> 268 </body> 269 </html> 270