<!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="Cairo_bigarray.html"> <link rel="next" href="Cairo_pdf.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 modules" rel=Appendix href="index_modules.html"> <link title="Cairo" rel="Chapter" href="Cairo.html"> <link title="Cairo_bigarray" rel="Chapter" href="Cairo_bigarray.html"> <link title="Cairo_png" rel="Chapter" href="Cairo_png.html"> <link title="Cairo_pdf" rel="Chapter" href="Cairo_pdf.html"> <link title="Cairo_ps" rel="Chapter" href="Cairo_ps.html"> <link title="Cairo_ft" rel="Chapter" href="Cairo_ft.html"> <link title="Cairo_lablgtk" rel="Chapter" href="Cairo_lablgtk.html"><title>Cairo-ocaml : Cairo_png</title> </head> <body> <div class="navbar"><a href="Cairo_bigarray.html">Previous</a> <a href="index.html">Up</a> <a href="Cairo_pdf.html">Next</a> </div> <center><h1>Module <a href="type_Cairo_png.html">Cairo_png</a></h1></center> <br> <pre><span class="keyword">module</span> Cairo_png: <code class="code">sig</code> <a href="Cairo_png.html">..</a> <code class="code">end</code></pre>PNG reading/writing functions<br> <hr width="100%"> <pre><span class="keyword">val</span> <a name="VALimage_surface_create_from_channel"></a>image_surface_create_from_channel : <code class="type">Pervasives.in_channel -> <a href="Cairo.html#TYPEimage_surface">Cairo.image_surface</a></code></pre><pre><span class="keyword">val</span> <a name="VALimage_surface_create_from_file"></a>image_surface_create_from_file : <code class="type">string -> <a href="Cairo.html#TYPEimage_surface">Cairo.image_surface</a></code></pre><pre><span class="keyword">val</span> <a name="VALimage_surface_create_from_stream"></a>image_surface_create_from_stream : <code class="type">(string -> unit) -> <a href="Cairo.html#TYPEimage_surface">Cairo.image_surface</a></code></pre><pre><span class="keyword">val</span> <a name="VALsurface_write_to_channel"></a>surface_write_to_channel : <code class="type">[> `Any ] <a href="Cairo.html#TYPEsurface">Cairo.surface</a> -> Pervasives.out_channel -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALsurface_write_to_file"></a>surface_write_to_file : <code class="type">[> `Any ] <a href="Cairo.html#TYPEsurface">Cairo.surface</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALsurface_write_to_stream"></a>surface_write_to_stream : <code class="type">[> `Any ] <a href="Cairo.html#TYPEsurface">Cairo.surface</a> -> (string -> unit) -> unit</code></pre></body></html>