Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > a228190325affd3a38a9ed14c6aaa02a > files > 154

ocaml-mm-devel-0.2.1-3.mga4.x86_64.rpm

<!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="Image.RGBA32.html">
<link rel="Up" href="Image.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="Audio" rel="Chapter" href="Audio.html">
<link title="Image" rel="Chapter" href="Image.html">
<link title="MIDI" rel="Chapter" href="MIDI.html">
<link title="Ringbuffer" rel="Chapter" href="Ringbuffer.html">
<link title="Synth" rel="Chapter" href="Synth.html">
<link title="Video" rel="Chapter" href="Video.html"><title>Image.Generic</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Image.RGBA32.html" title="Image.RGBA32">Previous</a>
&nbsp;<a class="up" href="Image.html" title="Image">Up</a>
&nbsp;</div>
<h1>Module <a href="type_Image.Generic.html">Image.Generic</a></h1>

<pre><span class="keyword">module</span> Generic: <code class="code">sig</code> <a href="Image.Generic.html">..</a> <code class="code">end</code></pre><div class="info module top">
Operations on images in generic formats (many formats are supported).<br>
</div>
<hr width="100%">

<pre><span id="EXCEPTIONNot_implemented"><span class="keyword">exception</span> Not_implemented</span></pre>
<div class="info ">
Since the module is very generic, many of the functions are not
      implemented for particular formats. This exception is raised when it is
      the case.<br>
</div>

<pre><span class="keyword">module</span> <a href="Image.Generic.Pixel.html">Pixel</a>: <code class="code">sig</code> <a href="Image.Generic.Pixel.html">..</a> <code class="code">end</code></pre><div class="info">
Generic pixels.
</div>

<pre><span id="TYPEdata"><span class="keyword">type</span> <code class="type"></code>data</span> = <code class="type">(int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t</code> </pre>
<div class="info ">
Data contents of an image.<br>
</div>


<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
<div class="info ">
An image.<br>
</div>


<pre><span id="VALwidth"><span class="keyword">val</span> width</span> : <code class="type"><a href="Image.Generic.html#TYPEt">t</a> -> int</code></pre><div class="info ">
Width of an image.<br>
</div>

<pre><span id="VALheight"><span class="keyword">val</span> height</span> : <code class="type"><a href="Image.Generic.html#TYPEt">t</a> -> int</code></pre><div class="info ">
Height of an image.<br>
</div>

<pre><span id="VALpixel_format"><span class="keyword">val</span> pixel_format</span> : <code class="type"><a href="Image.Generic.html#TYPEt">t</a> -> <a href="Image.Generic.Pixel.html#TYPEformat">Pixel.format</a></code></pre><div class="info ">
Pixel format of an image.<br>
</div>

<pre><span id="VALmake_rgb"><span class="keyword">val</span> make_rgb</span> : <code class="type"><a href="Image.Generic.Pixel.html#TYPErgb_format">Pixel.rgb_format</a> -><br>       ?stride:int -> int -> int -> <a href="Image.Generic.html#TYPEdata">data</a> -> <a href="Image.Generic.html#TYPEt">t</a></code></pre><div class="info ">
Create a new image of RGB format.<br>
</div>

<pre><span id="VALrgb_data"><span class="keyword">val</span> rgb_data</span> : <code class="type"><a href="Image.Generic.html#TYPEt">t</a> -> <a href="Image.Generic.html#TYPEdata">data</a> * int</code></pre><div class="info ">
Data and stride of an RGB image.<br>
</div>

<pre><span id="VALyuv_data"><span class="keyword">val</span> yuv_data</span> : <code class="type"><a href="Image.Generic.html#TYPEt">t</a> -><br>       (<a href="Image.Generic.html#TYPEdata">data</a> * int) * (<a href="Image.Generic.html#TYPEdata">data</a> * <a href="Image.Generic.html#TYPEdata">data</a> * int)</code></pre><div class="info ">
Data of a YUV image.<br>
</div>

<pre><span id="VALof_RGBA32"><span class="keyword">val</span> of_RGBA32</span> : <code class="type"><a href="Image.RGBA32.html#TYPEt">Image.RGBA32.t</a> -> <a href="Image.Generic.html#TYPEt">t</a></code></pre><div class="info ">
Create a generic image from an RGBA32 image.<br>
</div>

<pre><span id="VALof_YUV420"><span class="keyword">val</span> of_YUV420</span> : <code class="type"><a href="Image.YUV420.html#TYPEt">Image.YUV420.t</a> -> <a href="Image.Generic.html#TYPEt">t</a></code></pre><div class="info ">
Create a generic image from a YUV420 image.<br>
</div>

<pre><span id="VALconvert"><span class="keyword">val</span> convert</span> : <code class="type">?copy:bool -><br>       ?proportional:bool -><br>       ?scale_kind:<a href="Image.RGBA32.Scale.html#TYPEkind">Image.RGBA32.Scale.kind</a> -><br>       <a href="Image.Generic.html#TYPEt">t</a> -> <a href="Image.Generic.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
Convert a generic image from a format to another.<br>
</div>
</body></html>