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