/usr/share/doc/libmm-ocaml-dev/html/Image.Generic.html is in libmm-ocaml-dev 0.2.0-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | <!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 href="Image.RGBA32.html">Previous</a>
<a href="Image.html">Up</a>
</div>
<center><h1>Module <a href="type_Image.Generic.html">Image.Generic</a></h1></center>
<br>
<pre><span class="keyword">module</span> Generic: <code class="code">sig</code> <a href="Image.Generic.html">..</a> <code class="code">end</code></pre>Operations on images in generic formats (many formats are supported).<br>
<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>
|