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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
|
<!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: PLPicDecoder 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 Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a></div>
<h1>PLPicDecoder Class Reference</h1><code>#include <<a class="el" href="plpicdec_8h-source.html">plpicdec.h</a>></code>
<p>
<p>Inheritance diagram for PLPicDecoder:
<p><center><img src="classPLPicDecoder.png" usemap="#PLPicDecoder_map" border="0" alt=""></center>
<map name="PLPicDecoder_map">
<area href="classPLBmpInfo.html" alt="PLBmpInfo" shape="rect" coords="0,56,117,80">
<area href="classPLAnyPicDecoder.html" alt="PLAnyPicDecoder" shape="rect" coords="127,168,244,192">
<area href="classPLBmpDecoder.html" alt="PLBmpDecoder" shape="rect" coords="127,224,244,248">
<area href="classPLGIFDecoder.html" alt="PLGIFDecoder" shape="rect" coords="127,280,244,304">
<area href="classPLIFF85Decoder.html" alt="PLIFF85Decoder" shape="rect" coords="127,336,244,360">
<area href="classPLJPEGDecoder.html" alt="PLJPEGDecoder" shape="rect" coords="127,392,244,416">
<area href="classPLPCXDecoder.html" alt="PLPCXDecoder" shape="rect" coords="127,448,244,472">
<area href="classPLPGMDecoder.html" alt="PLPGMDecoder" shape="rect" coords="127,504,244,528">
<area href="classPLPictDecoder.html" alt="PLPictDecoder" shape="rect" coords="127,560,244,584">
<area href="classPLPNGDecoder.html" alt="PLPNGDecoder" shape="rect" coords="127,616,244,640">
<area href="classPLPPMDecoder.html" alt="PLPPMDecoder" shape="rect" coords="127,672,244,696">
<area href="classPLPSDDecoder.html" alt="PLPSDDecoder" shape="rect" coords="127,728,244,752">
<area href="classPLSGIDecoder.html" alt="PLSGIDecoder" shape="rect" coords="127,784,244,808">
<area href="classPLTGADecoder.html" alt="PLTGADecoder" shape="rect" coords="127,840,244,864">
<area href="classPLTIFFDecoder.html" alt="PLTIFFDecoder" shape="rect" coords="127,896,244,920">
</map>
<a href="classPLPicDecoder-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> </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a0">PLPicDecoder</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a1" doxytag="PLPicDecoder::~PLPicDecoder"></a>
virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a1">~PLPicDecoder</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. Frees memory allocated. <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a2">MakeBmpFromFile</a> (const char *pszFName, <a class="el" href="classPLBmp.html">PLBmp</a> *pBmp, const PLPixelFormat &pfWanted=PLPixelFormat::DONTCARE, <a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> *pProgNot=NULL)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a3">MakeBmpFromURL</a> (const char *pszURL, <a class="el" href="classPLBmp.html">PLBmp</a> *pBmp, const PLPixelFormat &pf=PLPixelFormat::DONTCARE, <a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> *pProgNot=NULL)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a4">MakeBmpFromMemory</a> (unsigned char *ucMemSrc, int MemSrcSize, <a class="el" href="classPLBmp.html">PLBmp</a> *pBmp, const PLPixelFormat &pf=PLPixelFormat::DONTCARE, <a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> *pProgNot=NULL)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a5" doxytag="PLPicDecoder::OpenFile"></a>
void </td><td class="memItemRight" valign=bottom><b>OpenFile</b> (const char *pszFName, <a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> *pProgNot=NULL)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a6">MakeBmp</a> (<a class="el" href="classPLBmp.html">PLBmp</a> *pBmp, const PLPixelFormat &pf=PLPixelFormat::DONTCARE)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a7" doxytag="PLPicDecoder::Close"></a>
virtual void </td><td class="memItemRight" valign=bottom><b>Close</b> ()</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a8" doxytag="PLPicDecoder::Open"></a>
virtual void </td><td class="memItemRight" valign=bottom><b>Open</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)=0</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#a9">GetImage</a> (<a class="el" href="classPLBmpBase.html">PLBmpBase</a> &Bmp)=0</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="a10" doxytag="PLPicDecoder::SetDataSrc"></a>
void </td><td class="memItemRight" valign=bottom><b>SetDataSrc</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>
<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#e0">SetTraceConfig</a> (int Level, char *pszFName)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="e1" doxytag="PLPicDecoder::raiseError"></a>
void </td><td class="memItemRight" valign=bottom><b>raiseError</b> (int Code, char *pszErr)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="e2" doxytag="PLPicDecoder::Trace"></a>
void </td><td class="memItemRight" valign=bottom><a class="el" href="classPLPicDecoder.html#e2">Trace</a> (int TraceLevel, const char *pszMessage)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called to output status messages to the current debug console. <br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b0" doxytag="PLPicDecoder::unpackPictRow"></a>
PLBYTE * </td><td class="memItemRight" valign=bottom><b>unpackPictRow</b> (PLBYTE *pLineBuf, <a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc, int Width, int rowBytes, int SrcBytes)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b1" doxytag="PLPicDecoder::ReadByte"></a>
PLBYTE </td><td class="memItemRight" valign=bottom><b>ReadByte</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b2" doxytag="PLPicDecoder::ReadIWord"></a>
PLWORD </td><td class="memItemRight" valign=bottom><b>ReadIWord</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b3" doxytag="PLPicDecoder::ReadMWord"></a>
PLWORD </td><td class="memItemRight" valign=bottom><b>ReadMWord</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b4" doxytag="PLPicDecoder::ReadILong"></a>
PLLONG </td><td class="memItemRight" valign=bottom><b>ReadILong</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="b5" doxytag="PLPicDecoder::ReadMLong"></a>
PLLONG </td><td class="memItemRight" valign=bottom><b>ReadMLong</b> (<a class="el" href="classPLDataSource.html">PLDataSource</a> *pDataSrc)</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a name="p0" doxytag="PLPicDecoder::m_pDataSrc"></a>
<a class="el" href="classPLDataSource.html">PLDataSource</a> * </td><td class="memItemRight" valign=bottom><b>m_pDataSrc</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
PLPicDecoder is an abstract base class. It defines common routines for all decoders. Decoders for specific file formats can be derived from this class. Objects of this class interact with a <a class="el" href="classPLDataSource.html">PLDataSource</a> to decode bitmaps.
<p>
<p>
Definition at line <a class="el" href="plpicdec_8h-source.html#l00026">26</a> of file <a class="el" href="plpicdec_8h-source.html">plpicdec.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
<a name="a0" doxytag="PLPicDecoder::PLPicDecoder"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> PLPicDecoder::PLPicDecoder </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Empty constructor. The actual initialization takes place in a derived class. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a9" doxytag="PLPicDecoder::GetImage"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void PLPicDecoder::GetImage </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="classPLBmpBase.html">PLBmpBase</a> & </td>
<td class="mdname1" valign="top" nowrap> <em>Bmp</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Decodes an image. Assumes that Open() and Bmp.Create() have already been called.
<p>
Implemented in <a class="el" href="classPLAnyPicDecoder.html#a4">PLAnyPicDecoder</a>, <a class="el" href="classPLBmpDecoder.html#a3">PLBmpDecoder</a>, <a class="el" href="classPLGIFDecoder.html#a3">PLGIFDecoder</a>, <a class="el" href="classPLIFF85Decoder.html#a3">PLIFF85Decoder</a>, <a class="el" href="classPLJPEGDecoder.html#a3">PLJPEGDecoder</a>, <a class="el" href="classPLPCXDecoder.html#a3">PLPCXDecoder</a>, <a class="el" href="classPLPGMDecoder.html#a3">PLPGMDecoder</a>, <a class="el" href="classPLPictDecoder.html#a3">PLPictDecoder</a>, <a class="el" href="classPLPNGDecoder.html#a3">PLPNGDecoder</a>, <a class="el" href="classPLPPMDecoder.html#a3">PLPPMDecoder</a>, <a class="el" href="classPLPSDDecoder.html#a3">PLPSDDecoder</a>, <a class="el" href="classPLSGIDecoder.html#a3">PLSGIDecoder</a>, <a class="el" href="classPLTGADecoder.html#a3">PLTGADecoder</a>, and <a class="el" href="classPLTIFFDecoder.html#a3">PLTIFFDecoder</a>. </td>
</tr>
</table>
<a name="a6" doxytag="PLPicDecoder::MakeBmp"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void PLPicDecoder::MakeBmp </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="classPLBmp.html">PLBmp</a> * </td>
<td class="mdname" nowrap> <em>pBmp</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const PLPixelFormat & </td>
<td class="mdname" nowrap> <em>pf</em> = PLPixelFormat::DONTCARE</td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Decodes an image in an already-opened data source and stores the results in pBmp. Open should be called before, close after this routine is called. </td>
</tr>
</table>
<a name="a2" doxytag="PLPicDecoder::MakeBmpFromFile"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void PLPicDecoder::MakeBmpFromFile </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const char * </td>
<td class="mdname" nowrap> <em>pszFName</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLBmp.html">PLBmp</a> * </td>
<td class="mdname" nowrap> <em>pBmp</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const PLPixelFormat & </td>
<td class="mdname" nowrap> <em>pfWanted</em> = PLPixelFormat::DONTCARE, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> * </td>
<td class="mdname" nowrap> <em>pProgNot</em> = NULL</td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Decodes a picture in a file and stores the results in pBmp. BPPWanted is the number of bits per pixel in the bitmap returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0. 0 will result in either an 8 or a 32 bpp bitmap being returned, depending on the source bitmap. Of course, if BPPWanted is less than the bpp of the file, some data is lost. Note that internally, all data is decoded to 8 or 32 bpp first in all cases, so using 16 or 24 as BPPWanted will cause in a copy and format conversion operation.<p>
As an exception, BPPWanted can be 1 for b/w tiff files. </td>
</tr>
</table>
<a name="a4" doxytag="PLPicDecoder::MakeBmpFromMemory"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void PLPicDecoder::MakeBmpFromMemory </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">unsigned char * </td>
<td class="mdname" nowrap> <em>ucMemSrc</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>MemSrcSize</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLBmp.html">PLBmp</a> * </td>
<td class="mdname" nowrap> <em>pBmp</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const PLPixelFormat & </td>
<td class="mdname" nowrap> <em>pf</em> = PLPixelFormat::DONTCARE, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> * </td>
<td class="mdname" nowrap> <em>pProgNot</em> = NULL</td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Decodes a picture from a memory location which directly resembles the image file as it would be on disc. The result is stored in pBmp. BPPWanted is the number of bits per pixel in the bitmap returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0. 0 will result in either an 8 or a 32 bpp bitmap being returned, depending on the source bitmap. Of course, if BPPWanted is less than the bpp of the file, some data is lost. Note that internally, all data is decoded to 8 or 32 bpp first in all cases, so using 16 or 24 as BPPWanted will cause in a copy and format conversion operation.<p>
As an exception, BPPWanted can be 1 for b/w tiff files. </td>
</tr>
</table>
<a name="a3" doxytag="PLPicDecoder::MakeBmpFromURL"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void PLPicDecoder::MakeBmpFromURL </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const char * </td>
<td class="mdname" nowrap> <em>pszURL</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLBmp.html">PLBmp</a> * </td>
<td class="mdname" nowrap> <em>pBmp</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const PLPixelFormat & </td>
<td class="mdname" nowrap> <em>pf</em> = PLPixelFormat::DONTCARE, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classPLIProgressNotification.html">PLIProgressNotification</a> * </td>
<td class="mdname" nowrap> <em>pProgNot</em> = NULL</td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Decodes a picture in an url (<a href="http://">http://</a>, <a href="ftp:://">ftp:://</a>, ...) and stores the results in pBmp. BPPWanted is the number of bits per pixel in the bitmap returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0. 0 will result in either an 8 or a 32 bpp bitmap being returned, depending on the source bitmap. Of course, if BPPWanted is less than the bpp of the file, some data is lost. Note that internally, all data is decoded to 8 or 32 bpp first in all cases, so using 16 or 24 as BPPWanted will cause in a copy and format conversion operation.<p>
As an exception, BPPWanted can be 1 for b/w tiff files. </td>
</tr>
</table>
<a name="e0" doxytag="PLPicDecoder::SetTraceConfig"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void PLPicDecoder::SetTraceConfig </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">int </td>
<td class="mdname" nowrap> <em>Level</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char * </td>
<td class="mdname" nowrap> <em>pszFName</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the amount and destination of debug traces output by the debug version. pszFName contains either a valid file name or is NULL. If it contains a file name, this file is used to store debug information. If pszFName is NULL, the destination is either the MSVC debug console or stderr depending on the version of the library. Valid values for Level are: <br>
<br>
0: Trace only errors.<br>
1: Trace top-level calls.<br>
2: Trace picture format information<br>
3: Trace all miscellaneous info.<br>
<br>
The trace configuration is global to all decoders. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="plpicdec_8h-source.html">plpicdec.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>
|