mirror of https://github.com/buggins/dlangui.git
45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
<html><head>
|
|
<META http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<title>dlangui.graphics.images</title>
|
|
</head><body>
|
|
<h1>dlangui.graphics.images</h1>
|
|
<!-- Generated by Ddoc from src/dlangui/graphics/images.d -->
|
|
DLANGUI library.
|
|
<br><br>
|
|
This module contains image loading functions.
|
|
<br><br>
|
|
|
|
Currently uses FreeImage.
|
|
<br><br>
|
|
|
|
Usage of libpng is not feasible under linux due to conflicts of library and binding versions.
|
|
|
|
<br><br>
|
|
<b>Synopsis:</b><br>
|
|
<pre class="d_code"><font color=blue>import</font> dlangui.graphics.<u>images</u>;
|
|
|
|
</pre>
|
|
|
|
<br><br>
|
|
<b>License:</b><br>
|
|
Boost License 1.0
|
|
<br><br>
|
|
<b>Authors:</b><br>
|
|
Vadim Lopatin, coolreader.org@gmail.com<br><br>
|
|
|
|
<dl><dt><big><a name="loadImage"></a>ColorDrawBuf <u>loadImage</u>(string <i>filename</i>);
|
|
</big></dt>
|
|
<dd>load and decode image from file to ColorDrawBuf, returns <b>null</b> if loading or decoding is failed<br><br>
|
|
|
|
</dd>
|
|
<dt><big><a name="loadImage"></a>ColorDrawBuf <u>loadImage</u>(InputStream <i>stream</i>);
|
|
</big></dt>
|
|
<dd>load and decode image from <i>stream</i> to ColorDrawBuf, returns <b>null</b> if loading or decoding is failed<br><br>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. Vadim Lopatin, 2014
|
|
</small>
|
|
</body></html>
|