[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /obj/handlers/image.c</h2>
Images can be used to efficiently store per-room area information.
Two current uses are for height maps (ie, third coordinate) and
exit maps (eg, a maze).  Along a row represents W-E (left to right),
and along a column represents N-S (top to bottom).  (0,0) in the image
corresponds to the northwestern-most room of the area.<p>
Currently, the only supported image type is RAW.
<h2>Includes</h2>
This class includes the following files /include/image.h<h2>Method index</h2>
<ul>
<li><a href="#load_image">load_image</a>(string, int)<br/>
This method reads in the given image file, and returns a two-dimensional
array of integers representing the data in the file.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="load_image">
load_image</a><pre class="autodocfuncdef">
varargs class IMAGE_INFO load_image(string image_file,
                                    int rle)
</pre><dd><br />
This method reads in the given image file, and returns a two-dimensional
array of integers representing the data in the file.  The 'rle'
flag is currently unused; in the future, it will be used to return
the array in a "run-length encoded" format, where each group of identical
elements in a row will be represented as a count/value pair.  This
may be more efficient for large arrays with sparse data.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
image_file - the pathname of the file containing the image<br />
<br />
<dd><b>Returns:</b>
<br />a 2-D array of ints, representing the image
<br /><br />
<br /></dl>

</dl>
[an error occurred while processing this directive]

