File: classPLPNGDecoder.html

package info (click to toggle)
paintlib 2.6.2-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,900 kB
  • ctags: 3,875
  • sloc: cpp: 25,209; sh: 10,600; ansic: 1,891; makefile: 119
file content (47 lines) | stat: -rw-r--r-- 3,778 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>paintlib: PLPNGDecoder class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a></div>
<h1>PLPNGDecoder Class Reference</h1><code>#include &lt;<a class="el" href="plpngdec_8h-source.html">plpngdec.h</a>&gt;</code>
<p>
<p>Inheritance diagram for PLPNGDecoder:
<p><center><img src="classPLPNGDecoder.png" usemap="#PLPNGDecoder_map" border="0" alt=""></center>
<map name="PLPNGDecoder_map">
<area href="classPLPicDecoder.html" alt="PLPicDecoder" shape="rect" coords="0,112,102,136">
<area href="classPLBmpInfo.html" alt="PLBmpInfo" shape="rect" coords="0,56,102,80">
</map>
<a href="classPLPNGDecoder-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a0" doxytag="PLPNGDecoder::PLPNGDecoder"></a>
&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPLPNGDecoder.html#a0">PLPNGDecoder</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a decoder. <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a1" doxytag="PLPNGDecoder::~PLPNGDecoder"></a>
virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPLPNGDecoder.html#a1">~PLPNGDecoder</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys a decoder. <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a2" doxytag="PLPNGDecoder::Open"></a>
virtual void&nbsp;</td><td class="memItemRight" valign=bottom><b>Open</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a3" doxytag="PLPNGDecoder::GetImage"></a>
virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPLPNGDecoder.html#a3">GetImage</a> (<a class="el" href="classPLBmpBase.html">PLBmpBase</a> &amp;Bmp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fills the bitmap with the image. <br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
PNG file decoder. Uses LibPng to do the actual decoding. PNG supports many pixel formats not supported by paintlib. These pixel formats are converted to the nearest paintlib equivalent. Images with less or more than 8 bits per channel are converted to 8 bits per channel. Images with 16-bit palettes or grayscale images with an alpha channel are returned as full 32-bit RGBA bitmaps. 
<p>

<p>
Definition at line <a class="el" href="plpngdec_8h-source.html#l00031">31</a> of file <a class="el" href="plpngdec_8h-source.html">plpngdec.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="plpngdec_8h-source.html">plpngdec.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:42 2004 for paintlib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.2 </small></address>
</body>
</html>