<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="OImage.html"> <link rel="next" href="OXimage2.html"> <link rel="Up" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Bitmap" rel="Chapter" href="Bitmap.html"> <link title="Blend" rel="Chapter" href="Blend.html"> <link title="Bmp" rel="Chapter" href="Bmp.html"> <link title="Cmyk32" rel="Chapter" href="Cmyk32.html"> <link title="Color" rel="Chapter" href="Color.html"> <link title="Freetype" rel="Chapter" href="Freetype.html"> <link title="Ftlow" rel="Chapter" href="Ftlow.html"> <link title="Fttext" rel="Chapter" href="Fttext.html"> <link title="Genimage" rel="Chapter" href="Genimage.html"> <link title="Gif" rel="Chapter" href="Gif.html"> <link title="Graphic_image" rel="Chapter" href="Graphic_image.html"> <link title="Images" rel="Chapter" href="Images.html"> <link title="Index16" rel="Chapter" href="Index16.html"> <link title="Index8" rel="Chapter" href="Index8.html"> <link title="Info" rel="Chapter" href="Info.html"> <link title="Jis_unicode" rel="Chapter" href="Jis_unicode.html"> <link title="Jpeg" rel="Chapter" href="Jpeg.html"> <link title="Mstring" rel="Chapter" href="Mstring.html"> <link title="OColor" rel="Chapter" href="OColor.html"> <link title="OImage" rel="Chapter" href="OImage.html"> <link title="OImages" rel="Chapter" href="OImages.html"> <link title="OXimage2" rel="Chapter" href="OXimage2.html"> <link title="OXvthumb" rel="Chapter" href="OXvthumb.html"> <link title="Png" rel="Chapter" href="Png.html"> <link title="Ppm" rel="Chapter" href="Ppm.html"> <link title="Ps" rel="Chapter" href="Ps.html"> <link title="Reduce" rel="Chapter" href="Reduce.html"> <link title="Region" rel="Chapter" href="Region.html"> <link title="Rgb24" rel="Chapter" href="Rgb24.html"> <link title="Rgba32" rel="Chapter" href="Rgba32.html"> <link title="Tmpfile" rel="Chapter" href="Tmpfile.html"> <link title="Ximage2" rel="Chapter" href="Ximage2.html"> <link title="Xpm" rel="Chapter" href="Xpm.html"> <link title="Xvthumb" rel="Chapter" href="Xvthumb.html"><title>OImages</title> </head> <body> <div class="navbar"><a href="OImage.html">Previous</a> <a href="index.html">Up</a> <a href="OXimage2.html">Next</a> </div> <center><h1>Module <a href="type_OImages.html">OImages</a></h1></center> <br> <pre><span class="keyword">module</span> OImages: <code class="code">sig</code> <a href="OImages.html">..</a> <code class="code">end</code></pre>Class interface for Images<br> <hr width="100%"> <pre><span class="keyword">exception</span> <a name="EXCEPTIONNon_supported_method"></a>Non_supported_method</pre> <pre><span class="keyword">exception</span> <a name="EXCEPTIONWrong_image_class"></a>Wrong_image_class</pre> <br><code><span class="keyword">type</span> <a name="TYPEimage_class"></a><code class="type"></code>image_class = </code><table class="typetable"> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ClassRgb24</span></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ClassIndex8</span></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ClassIndex16</span></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ClassRgba32</span></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ClassCmyk32</span></code></td> </tr></table> <pre><span class="keyword">class type</span> <a name="TYPEimgsize"></a><a href="OImages.imgsize.html">imgsize</a> = <code class="code">object</code> <a href="OImages.imgsize.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEmap"></a><code class="type">['a]</code> <a href="OImages.map.html">map</a> = <code class="code">object</code> <a href="OImages.map.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEoimage"></a><a href="OImages.oimage.html">oimage</a> = <code class="code">object</code> <a href="OImages.oimage.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPErgba32_class"></a><a href="OImages.rgba32_class.html">rgba32_class</a> = <code class="code">object</code> <a href="OImages.rgba32_class.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class</span> <a name="TYPErgba32_wrapper"></a><a href="OImages.rgba32_wrapper.html">rgba32_wrapper</a> : <code class="type"><a href="Rgba32.html#TYPEt">Rgba32.t</a> -> </code><code class="type"><a href="OImages.rgba32_class.html">rgba32_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPErgba32"></a><a href="OImages.rgba32.html">rgba32</a> : <code class="type">int -> int -> </code><code class="type"><a href="OImages.rgba32_class.html">rgba32_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPErgba32_filled"></a><a href="OImages.rgba32_filled.html">rgba32_filled</a> : <code class="type">int -> int -> <a href="Color.html#TYPErgba">Color.rgba</a> -> </code><code class="type"><a href="OImages.rgba32_class.html">rgba32_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPErgba32_with"></a><a href="OImages.rgba32_with.html">rgba32_with</a> : <code class="type">int -> int -> <a href="Info.html#TYPEinfo">Info.info</a> list -> string -> </code><code class="type"><a href="OImages.rgba32_class.html">rgba32_class</a></code></pre><pre><span class="keyword">class type</span> <a name="TYPErgb24_class"></a><a href="OImages.rgb24_class.html">rgb24_class</a> = <code class="code">object</code> <a href="OImages.rgb24_class.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class</span> <a name="TYPErgb24_wrapper"></a><a href="OImages.rgb24_wrapper.html">rgb24_wrapper</a> : <code class="type"><a href="Rgb24.html#TYPEt">Rgb24.t</a> -> </code><code class="type"><a href="OImages.rgb24_class.html">rgb24_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPErgb24"></a><a href="OImages.rgb24.html">rgb24</a> : <code class="type">int -> int -> </code><code class="type"><a href="OImages.rgb24_class.html">rgb24_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPErgb24_filled"></a><a href="OImages.rgb24_filled.html">rgb24_filled</a> : <code class="type">int -> int -> <a href="Color.html#TYPErgb">Color.rgb</a> -> </code><code class="type"><a href="OImages.rgb24_class.html">rgb24_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPErgb24_with"></a><a href="OImages.rgb24_with.html">rgb24_with</a> : <code class="type">int -> int -> <a href="Info.html#TYPEinfo">Info.info</a> list -> string -> </code><code class="type"><a href="OImages.rgb24_class.html">rgb24_class</a></code></pre><pre><span class="keyword">class type</span> <a name="TYPEindex8_class"></a><a href="OImages.index8_class.html">index8_class</a> = <code class="code">object</code> <a href="OImages.index8_class.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class</span> <a name="TYPEindex8_wrapper"></a><a href="OImages.index8_wrapper.html">index8_wrapper</a> : <code class="type"><a href="Index8.html#TYPEt">Index8.t</a> -> </code><code class="type"><a href="OImages.index8_class.html">index8_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEindex8"></a><a href="OImages.index8.html">index8</a> : <code class="type">int -> int -> </code><code class="type"><a href="OImages.index8_class.html">index8_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEindex8_filled"></a><a href="OImages.index8_filled.html">index8_filled</a> : <code class="type">int -> int -> int -> </code><code class="type"><a href="OImages.index8_class.html">index8_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEindex8_with"></a><a href="OImages.index8_with.html">index8_with</a> : <code class="type">int -> int -> <a href="Info.html#TYPEinfo">Info.info</a> list -> <a href="Color.html#TYPErgb">Color.rgb</a> <a href="Color.html#TYPEmap">Color.map</a> -> int -> string -> </code><code class="type"><a href="OImages.index8_class.html">index8_class</a></code></pre><pre><span class="keyword">class type</span> <a name="TYPEindex16_class"></a><a href="OImages.index16_class.html">index16_class</a> = <code class="code">object</code> <a href="OImages.index16_class.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class</span> <a name="TYPEindex16_wrapper"></a><a href="OImages.index16_wrapper.html">index16_wrapper</a> : <code class="type"><a href="Index16.html#TYPEt">Index16.t</a> -> </code><code class="type"><a href="OImages.index16_class.html">index16_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEindex16"></a><a href="OImages.index16.html">index16</a> : <code class="type">int -> int -> </code><code class="type"><a href="OImages.index16_class.html">index16_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEindex16_filled"></a><a href="OImages.index16_filled.html">index16_filled</a> : <code class="type">int -> int -> int -> </code><code class="type"><a href="OImages.index16_class.html">index16_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEindex16_with"></a><a href="OImages.index16_with.html">index16_with</a> : <code class="type">int -> int -> <a href="Info.html#TYPEinfo">Info.info</a> list -> <a href="Color.html#TYPErgb">Color.rgb</a> <a href="Color.html#TYPEmap">Color.map</a> -> int -> string -> </code><code class="type"><a href="OImages.index16_class.html">index16_class</a></code></pre><pre><span class="keyword">class type</span> <a name="TYPEcmyk32_class"></a><a href="OImages.cmyk32_class.html">cmyk32_class</a> = <code class="code">object</code> <a href="OImages.cmyk32_class.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class</span> <a name="TYPEcmyk32_wrapper"></a><a href="OImages.cmyk32_wrapper.html">cmyk32_wrapper</a> : <code class="type"><a href="Cmyk32.html#TYPEt">Cmyk32.t</a> -> </code><code class="type"><a href="OImages.cmyk32_class.html">cmyk32_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEcmyk32"></a><a href="OImages.cmyk32.html">cmyk32</a> : <code class="type">int -> int -> </code><code class="type"><a href="OImages.cmyk32_class.html">cmyk32_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEcmyk32_filled"></a><a href="OImages.cmyk32_filled.html">cmyk32_filled</a> : <code class="type">int -> int -> <a href="Color.html#TYPEcmyk">Color.cmyk</a> -> </code><code class="type"><a href="OImages.cmyk32_class.html">cmyk32_class</a></code></pre><pre><span class="keyword">class</span> <a name="TYPEcmyk32_with"></a><a href="OImages.cmyk32_with.html">cmyk32_with</a> : <code class="type">int -> int -> <a href="Info.html#TYPEinfo">Info.info</a> list -> string -> </code><code class="type"><a href="OImages.cmyk32_class.html">cmyk32_class</a></code></pre><pre><span class="keyword">val</span> <a name="VALrgb24"></a>rgb24 : <code class="type"><a href="OImages.oimage.html">oimage</a> -> <a href="OImages.rgb24_class.html">rgb24_class</a></code></pre><pre><span class="keyword">val</span> <a name="VALindex8"></a>index8 : <code class="type"><a href="OImages.oimage.html">oimage</a> -> <a href="OImages.index8_class.html">index8_class</a></code></pre><pre><span class="keyword">val</span> <a name="VALindex16"></a>index16 : <code class="type"><a href="OImages.oimage.html">oimage</a> -> <a href="OImages.index16_class.html">index16_class</a></code></pre><pre><span class="keyword">val</span> <a name="VALrgba32"></a>rgba32 : <code class="type"><a href="OImages.oimage.html">oimage</a> -> <a href="OImages.rgba32_class.html">rgba32_class</a></code></pre><pre><span class="keyword">val</span> <a name="VALcmyk32"></a>cmyk32 : <code class="type"><a href="OImages.oimage.html">oimage</a> -> <a href="OImages.cmyk32_class.html">cmyk32_class</a></code></pre><br><code><span class="keyword">type</span> <a name="TYPEtagged"></a><code class="type"></code>tagged = </code><table class="typetable"> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">Rgb24</span> <span class="keyword">of</span> <code class="type"><a href="OImages.rgb24_class.html">rgb24_class</a></code></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">Index8</span> <span class="keyword">of</span> <code class="type"><a href="OImages.index8_class.html">index8_class</a></code></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">Index16</span> <span class="keyword">of</span> <code class="type"><a href="OImages.index16_class.html">index16_class</a></code></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">Rgba32</span> <span class="keyword">of</span> <code class="type"><a href="OImages.rgba32_class.html">rgba32_class</a></code></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">Cmyk32</span> <span class="keyword">of</span> <code class="type"><a href="OImages.cmyk32_class.html">cmyk32_class</a></code></code></td> </tr></table> <pre><span class="keyword">val</span> <a name="VALtag"></a>tag : <code class="type"><a href="OImages.oimage.html">oimage</a> -> <a href="OImages.html#TYPEtagged">tagged</a></code></pre><pre><span class="keyword">val</span> <a name="VALmake"></a>make : <code class="type"><a href="Images.html#TYPEt">Images.t</a> -> <a href="OImages.oimage.html">oimage</a></code></pre><pre><span class="keyword">val</span> <a name="VALload"></a>load : <code class="type">string -> <a href="Images.html#TYPEload_option">Images.load_option</a> list -> <a href="OImages.oimage.html">oimage</a></code></pre><pre><span class="keyword">val</span> <a name="VALsub"></a>sub : <code class="type"><a href="OImages.oimage.html">oimage</a> -> int -> int -> int -> int -> <a href="OImages.oimage.html">oimage</a></code></pre></body></html>