File: plpicdec_8h-source.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 (378 lines) | stat: -rw-r--r-- 26,028 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
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
<!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: plpicdec.h Source File</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>plpicdec.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment">/--------------------------------------------------------------------</span>
00003 <span class="comment">|</span>
00004 <span class="comment">|      $Id: plpicdec_8h-source.html,v 1.4 2004/09/15 15:26:29 uzadow Exp $</span>
00005 <span class="comment">|</span>
00006 <span class="comment">|      Copyright (c) 1996-2002 Ulrich von Zadow</span>
00007 <span class="comment">|</span>
00008 <span class="comment">\--------------------------------------------------------------------</span>
00009 <span class="comment">*/</span>
00010 
00011 <span class="preprocessor">#ifndef INCL_PLPICDEC</span>
00012 <span class="preprocessor"></span><span class="preprocessor">#define INCL_PLPICDEC</span>
00013 <span class="preprocessor"></span>
00014 <span class="preprocessor">#ifndef INCL_PLBITMAP</span>
00015 <span class="preprocessor"></span><span class="preprocessor">#include "plbitmap.h"</span>
00016 <span class="preprocessor">#endif</span>
00017 <span class="preprocessor"></span>
00018 <span class="preprocessor">#ifndef INCL_PLDATASRC</span>
00019 <span class="preprocessor"></span><span class="preprocessor">#include "pldatasrc.h"</span>
00020 <span class="preprocessor">#endif</span>
00021 <span class="preprocessor"></span><span class="comment"></span>
00022 <span class="comment">//! PLPicDecoder is an abstract base class. It defines common routines</span>
00023 <span class="comment">//! for all decoders. Decoders for specific file formats can be</span>
00024 <span class="comment">//! derived from this class. Objects of this class interact with a</span>
00025 <span class="comment">//! PLDataSource to decode bitmaps.</span>
<a name="l00026"></a><a class="code" href="classPLPicDecoder.html">00026</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classPLPicDecoder.html">PLPicDecoder</a> : <span class="keyword">public</span> <a class="code" href="classPLBmpInfo.html">PLBmpInfo</a>
00027 {
00028 
00029 <span class="keyword">public</span>:<span class="comment"></span>
00030 <span class="comment">  //! Empty constructor. The actual initialization takes place in a</span>
00031 <span class="comment">  //! derived class.</span>
00032 <span class="comment"></span>  <a class="code" href="classPLPicDecoder.html">PLPicDecoder</a>
00033     ();
00034 <span class="comment"></span>
00035 <span class="comment">  //! Destructor. Frees memory allocated.</span>
00036 <span class="comment"></span>  <span class="keyword">virtual</span> ~<a class="code" href="classPLPicDecoder.html">PLPicDecoder</a>
00037     ();
00038 <span class="comment"></span>
00039 <span class="comment">  //! Decodes a picture in a file and stores the results in pBmp.</span>
00040 <span class="comment">  //! BPPWanted is the number of bits per pixel in the bitmap</span>
00041 <span class="comment">  //! returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0.</span>
00042 <span class="comment">  //! 0 will result in either an 8 or a 32 bpp bitmap being returned,</span>
00043 <span class="comment">  //! depending on the source bitmap. Of course, if BPPWanted is less than the</span>
00044 <span class="comment">  //! bpp of the file, some data is lost.</span>
00045 <span class="comment">  //! Note that internally, all data is decoded to 8 or 32 bpp first in all </span>
00046 <span class="comment">  //! cases, so using 16 or 24 as BPPWanted will cause in a copy and format </span>
00047 <span class="comment">  //! conversion operation.</span>
00048 <span class="comment">  //!</span>
00049 <span class="comment">  //! As an exception, BPPWanted can be 1 for b/w tiff files.</span>
00050 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPLPicDecoder.html#a2">MakeBmpFromFile</a>
00051     ( <span class="keyword">const</span> <span class="keywordtype">char</span> * pszFName,
00052       <a class="code" href="classPLBmp.html">PLBmp</a> * pBmp,
00053       <span class="keyword">const</span> PLPixelFormat&amp; pfWanted = PLPixelFormat::DONTCARE,
00054       <a class="code" href="classPLIProgressNotification.html">PLIProgressNotification</a> * pProgNot = NULL
00055     );
00056 
00057 <span class="preprocessor">#ifdef _WINDOWS  </span><span class="comment"></span>
00058 <span class="comment">  //! Decodes a picture in a file and stores the results in pBmp.</span>
00059 <span class="comment">  //! Wide-Character version (windows only). </span>
00060 <span class="comment"></span>  virtual void MakeBmpFromFileW
00061     ( <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> * pszwFName,
00062       <a class="code" href="classPLBmp.html">PLBmp</a> * pBmp,
00063       <span class="keyword">const</span> PLPixelFormat&amp; pf = PLPixelFormat::DONTCARE,
00064       <a class="code" href="classPLIProgressNotification.html">PLIProgressNotification</a> * pProgNot = NULL
00065     );
00066 <span class="preprocessor">#endif</span>
00067 <span class="preprocessor"></span>
00068 <span class="comment"></span>
00069 <span class="comment">  //! Decodes a picture in an url (http://, ftp:://, ...) and stores the results in pBmp.</span>
00070 <span class="comment">  //! BPPWanted is the number of bits per pixel in the bitmap</span>
00071 <span class="comment">  //! returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0.</span>
00072 <span class="comment">  //! 0 will result in either an 8 or a 32 bpp bitmap being returned,</span>
00073 <span class="comment">  //! depending on the source bitmap. Of course, if BPPWanted is less than the</span>
00074 <span class="comment">  //! bpp of the file, some data is lost.</span>
00075 <span class="comment">  //! Note that internally, all data is decoded to 8 or 32 bpp first in all </span>
00076 <span class="comment">  //! cases, so using 16 or 24 as BPPWanted will cause in a copy and format </span>
00077 <span class="comment">  //! conversion operation.</span>
00078 <span class="comment">  //!</span>
00079 <span class="comment">  //! As an exception, BPPWanted can be 1 for b/w tiff files.</span>
00080 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPLPicDecoder.html#a3">MakeBmpFromURL</a>
00081     ( <span class="keyword">const</span> <span class="keywordtype">char</span> * pszURL,
00082       <a class="code" href="classPLBmp.html">PLBmp</a> * pBmp,
00083       <span class="keyword">const</span> PLPixelFormat&amp; pf = PLPixelFormat::DONTCARE,
00084       <a class="code" href="classPLIProgressNotification.html">PLIProgressNotification</a> * pProgNot = NULL
00085     );
00086 
00087 <span class="preprocessor">#ifdef _WINDOWS</span><span class="comment"></span>
00088 <span class="comment">  //! Decodes a picture in a windows resource by creating a resource data</span>
00089 <span class="comment">  //! source and calling MakeBmp with this data source.</span>
00090 <span class="comment">  //! BPPWanted is the number of bits per pixel in the bitmap</span>
00091 <span class="comment">  //! returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0.</span>
00092 <span class="comment">  //! 0 will result in either an 8 or a 32 bpp bitmap being returned,</span>
00093 <span class="comment">  //! depending on the source bitmap. Of course, if BPPWanted is less than the</span>
00094 <span class="comment">  //! bpp of the file, some data is lost.</span>
00095 <span class="comment">  //! Note that internally, all data is decoded to 8 or 32 bpp first in all </span>
00096 <span class="comment">  //! cases, so using 16 or 24 as BPPWanted will cause in a copy and format </span>
00097 <span class="comment">  //! conversion operation.</span>
00098 <span class="comment">  //!</span>
00099 <span class="comment">  //! As an exception, BPPWanted can be 1 for b/w tiff files.</span>
00100 <span class="comment">  //!</span>
00101 <span class="comment">  //! ResType is the windows resource type (e.g. "JPEG") to be used.</span>
00102 <span class="comment">  //! If a module handle is passed as hResModule, then the resource</span>
00103 <span class="comment">  //! will be loaded from this module, otherwise, the resource</span>
00104 <span class="comment">  //! will be searched for by AfxFindResourceHandle (! MFC dependent!)</span>
00105 <span class="comment"></span>  virtual void MakeBmpFromResource
00106     ( HINSTANCE hInstResource, <span class="keywordtype">int</span> ResourceID,
00107       <a class="code" href="classPLBmp.html">PLBmp</a> * pBmp,
00108       <span class="keyword">const</span> PLPixelFormat&amp; pf = PLPixelFormat::DONTCARE,
00109       <span class="keyword">const</span> <span class="keywordtype">char</span>* ResType = NULL,
00110       HMODULE hResModule = 0
00111           );
00112 <span class="preprocessor">#endif</span>
00113 <span class="preprocessor"></span><span class="comment"></span>
00114 <span class="comment">  //! Decodes a picture from a memory location which directly resembles</span>
00115 <span class="comment">  //! the image file as it would be on disc. The result is stored in pBmp.</span>
00116 <span class="comment">  //! BPPWanted is the number of bits per pixel in the bitmap</span>
00117 <span class="comment">  //! returned. Valid values for BPPWanted are 8, 16, 24, 32 and 0.</span>
00118 <span class="comment">  //! 0 will result in either an 8 or a 32 bpp bitmap being returned,</span>
00119 <span class="comment">  //! depending on the source bitmap. Of course, if BPPWanted is less than the</span>
00120 <span class="comment">  //! bpp of the file, some data is lost.</span>
00121 <span class="comment">  //! Note that internally, all data is decoded to 8 or 32 bpp first in all </span>
00122 <span class="comment">  //! cases, so using 16 or 24 as BPPWanted will cause in a copy and format </span>
00123 <span class="comment">  //! conversion operation.</span>
00124 <span class="comment">  //!</span>
00125 <span class="comment">  //! As an exception, BPPWanted can be 1 for b/w tiff files.</span>
00126 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPLPicDecoder.html#a4">MakeBmpFromMemory</a>
00127     ( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * ucMemSrc,
00128       <span class="keywordtype">int</span> MemSrcSize,
00129       <a class="code" href="classPLBmp.html">PLBmp</a> * pBmp,
00130       <span class="keyword">const</span> PLPixelFormat&amp; pf = PLPixelFormat::DONTCARE,
00131       <a class="code" href="classPLIProgressNotification.html">PLIProgressNotification</a> * pProgNot = NULL
00132     );
00133 <span class="comment"></span>
00134 <span class="comment">  //!</span>
00135 <span class="comment"></span>  <span class="keywordtype">void</span> OpenFile
00136     ( <span class="keyword">const</span> <span class="keywordtype">char</span> * pszFName, 
00137       <a class="code" href="classPLIProgressNotification.html">PLIProgressNotification</a> * pProgNot = NULL
00138     );
00139   
00140 <span class="preprocessor">#ifdef _WINDOWS</span>
00141 <span class="preprocessor"></span><span class="comment">  //!</span>
00142 <span class="comment"></span>  <span class="keywordtype">void</span> OpenFileW
00143     ( <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> * pszwFName, 
00144       <a class="code" href="classPLIProgressNotification.html">PLIProgressNotification</a> * pProgNot = NULL
00145     );
00146 <span class="preprocessor">#endif</span><span class="comment"></span>
00147 <span class="comment">  //! Decodes an image in an already-opened data source and </span>
00148 <span class="comment">  //! stores the results in pBmp. </span>
00149 <span class="comment">  //! Open should be called before, close after this routine is called.</span>
00150 <span class="comment"></span>    virtual void MakeBmp
00151     ( <a class="code" href="classPLBmp.html">PLBmp</a> * pBmp,
00152       <span class="keyword">const</span> PLPixelFormat&amp; pf = PLPixelFormat::DONTCARE
00153     );
00154 <span class="comment"></span>
00155 <span class="comment">  //!</span>
00156 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Close
00157     ();
00158 <span class="comment"></span>
00159 <span class="comment">  //! Sets the amount and destination of debug traces output by the</span>
00160 <span class="comment">  //! debug version. pszFName contains either a valid file name or is</span>
00161 <span class="comment">  //! NULL. If it contains a file name, this file is used to store</span>
00162 <span class="comment">  //! debug information. If pszFName is NULL, the destination is</span>
00163 <span class="comment">  //! either the MSVC debug console or stderr depending on the</span>
00164 <span class="comment">  //! version of the library. Valid values for Level are: &lt;BR&gt;</span>
00165 <span class="comment">  //! &lt;BR&gt;</span>
00166 <span class="comment">  //! 0: Trace only errors.&lt;BR&gt;</span>
00167 <span class="comment">  //! 1: Trace top-level calls.&lt;BR&gt;</span>
00168 <span class="comment">  //! 2: Trace picture format information&lt;BR&gt;</span>
00169 <span class="comment">  //! 3: Trace all miscellaneous info.&lt;BR&gt;</span>
00170 <span class="comment">  //! &lt;BR&gt;</span>
00171 <span class="comment">  //! The trace configuration is global to all decoders.</span>
00172 <span class="comment"></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classPLPicDecoder.html#e0">SetTraceConfig</a>
00173     ( <span class="keywordtype">int</span> Level,
00174       <span class="keywordtype">char</span> * pszFName
00175     );
00176 <span class="comment"></span>
00177 <span class="comment">  //!</span>
00178 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> Open (<a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc)=0;
00179 <span class="comment"></span>
00180 <span class="comment">  //! Decodes an image. Assumes that Open() and Bmp.Create() have already</span>
00181 <span class="comment">  //! been called.</span>
00182 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPLPicDecoder.html#a9">GetImage</a> (<a class="code" href="classPLBmpBase.html">PLBmpBase</a> &amp; Bmp) = 0;
00183 
00184   <span class="comment">// Used only by PLAnyPicDecoder.</span>
00185   <span class="keywordtype">void</span> SetDataSrc (<a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc);
00186 
00187   <span class="comment">// This function is needed by callbacks outside of any object,</span>
00188   <span class="comment">// so it's public and static. It should not be called from</span>
00189   <span class="comment">// outside of the library.</span>
00190   <span class="keyword">static</span> <span class="keywordtype">void</span> raiseError
00191     ( <span class="keywordtype">int</span> Code,
00192       <span class="keywordtype">char</span> * pszErr
00193     );
00194 <span class="comment"></span>
00195 <span class="comment">  //! Called to output status messages to the current debug console</span>
00196 <span class="comment"></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classPLPicDecoder.html#e2">Trace</a>
00197     ( <span class="keywordtype">int</span> TraceLevel,
00198       <span class="keyword">const</span> <span class="keywordtype">char</span> * pszMessage
00199     );
00200 
00201 <span class="keyword">protected</span>:
00202   <span class="comment">// TODO: What is this doing here?!</span>
00203   PLBYTE * unpackPictRow
00204     ( PLBYTE * pLineBuf,
00205       <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc,
00206       <span class="keywordtype">int</span> Width,
00207       <span class="keywordtype">int</span> rowBytes,
00208       <span class="keywordtype">int</span> SrcBytes
00209     );
00210 
00211   PLBYTE ReadByte
00212     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00213     );
00214 
00215   <span class="comment">// Machine-independent routines for byte-order conversion.</span>
00216 
00217   PLWORD ReadIWord
00218     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00219     );
00220 
00221   PLWORD ReadMWord
00222     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00223     );
00224 
00225   PLLONG ReadILong
00226     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00227     );
00228 
00229   PLLONG ReadMLong
00230     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00231     );
00232 
00233   <a class="code" href="classPLDataSource.html">PLDataSource</a> * m_pDataSrc;
00234 
00235 <span class="keyword">private</span>:<span class="comment"></span>
00236 <span class="comment">  ///////////////////////////////////////////////////////////////////</span>
00237 <span class="comment"></span>  <span class="comment">// Member variables.</span>
00238 
00239   <span class="keyword">static</span> <span class="keywordtype">int</span>    m_TraceLevel;    <span class="comment">// 0: Trace only errors.</span>
00240                                  <span class="comment">// 1: Trace top-level calls.</span>
00241                                  <span class="comment">// 2: Trace picture format info.</span>
00242                                  <span class="comment">// 3: Trace misc. info.</span>
00243   <span class="keyword">static</span> <span class="keywordtype">char</span> * m_pszTraceFName; <span class="comment">// Name of trace file. NULL if trace to</span>
00244                                  <span class="comment">// MSVC debug console.</span>
00245 };
00246 
00247 
00248 <span class="keyword">inline</span> PLBYTE PLPicDecoder::ReadByte
00249     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00250     )
00251 {
00252   <span class="keywordflow">return</span> *(pDataSrc-&gt;ReadNBytes (1));
00253 }
00254 
00255 
00256 <span class="keyword">inline</span> PLWORD PLPicDecoder::ReadIWord
00257     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00258     )
00259 {
00260   PLBYTE * pData = pDataSrc-&gt;Read2Bytes ();
00261   <span class="comment">// This should work regardless of the destination byte order ;-)</span>
00262   <span class="keywordflow">return</span> pData[0] + (pData[1]&lt;&lt;8);
00263 }
00264 
00265 
00266 <span class="keyword">inline</span> PLWORD PLPicDecoder::ReadMWord
00267     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00268     )
00269 {
00270   PLBYTE * pData = pDataSrc-&gt;Read2Bytes ();
00271   <span class="keywordflow">return</span> pData[1] + (pData[0]&lt;&lt;8);
00272 }
00273 
00274 
00275 <span class="keyword">inline</span> PLLONG PLPicDecoder::ReadILong
00276     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00277     )
00278 {
00279   PLBYTE * pData = pDataSrc-&gt;Read4Bytes ();
00280   <span class="keywordflow">return</span> pData[0] + (pData[1]&lt;&lt;8) + (pData[2]&lt;&lt;16) + (pData[3]&lt;&lt;24);
00281 }
00282 
00283 <span class="keyword">inline</span> PLLONG PLPicDecoder::ReadMLong
00284     ( <a class="code" href="classPLDataSource.html">PLDataSource</a> * pDataSrc
00285     )
00286 {
00287   PLBYTE * pData = pDataSrc-&gt;Read4Bytes ();
00288   <span class="keywordflow">return</span> pData[3] + (pData[2]&lt;&lt;8) + (pData[1]&lt;&lt;16) + (pData[0]&lt;&lt;24);
00289 }
00290 
00291 <span class="preprocessor">#endif</span>
00292 <span class="preprocessor"></span><span class="comment">/*</span>
00293 <span class="comment">/--------------------------------------------------------------------</span>
00294 <span class="comment">|</span>
00295 <span class="comment">|      $Log: plpicdec_8h-source.html,v $
00295 <span class="comment">|      Revision 1.4  2004/09/15 15:26:29  uzadow
00295 <span class="comment">|      Linux compatibility changes, doc update.
00295 <span class="comment">|</span>
00296 <span class="comment">|      Revision 1.15  2004/09/09 16:52:49  artcom</span>
00297 <span class="comment">|      refactored PixelFormat</span>
00298 <span class="comment">|</span>
00299 <span class="comment">|      Revision 1.14  2004/06/19 20:13:17  uzadow</span>
00300 <span class="comment">|      Documentation update.</span>
00301 <span class="comment">|</span>
00302 <span class="comment">|      Revision 1.13  2004/06/19 17:34:27  uzadow</span>
00303 <span class="comment">|      Documentation update</span>
00304 <span class="comment">|</span>
00305 <span class="comment">|      Revision 1.12  2004/06/19 16:49:07  uzadow</span>
00306 <span class="comment">|      Changed GetImage so it works with PLBmpBase</span>
00307 <span class="comment">|</span>
00308 <span class="comment">|      Revision 1.11  2004/06/06 12:56:38  uzadow</span>
00309 <span class="comment">|      Doxygenified documentation.</span>
00310 <span class="comment">|</span>
00311 <span class="comment">|      Revision 1.10  2003/08/03 12:54:10  uzadow</span>
00312 <span class="comment">|      Fixed broken linux build.</span>
00313 <span class="comment">|</span>
00314 <span class="comment">|      Revision 1.9  2003/08/03 12:03:20  uzadow</span>
00315 <span class="comment">|      Added unicode support; fixed some header includes.</span>
00316 <span class="comment">|</span>
00317 <span class="comment">|      Revision 1.8  2003/03/19 14:33:13  uzadow</span>
00318 <span class="comment">|      Added Rect.Contains</span>
00319 <span class="comment">|</span>
00320 <span class="comment">|      Revision 1.7  2003/02/15 21:26:58  uzadow</span>
00321 <span class="comment">|      Added win32 version of url data source.</span>
00322 <span class="comment">|</span>
00323 <span class="comment">|      Revision 1.6  2002/08/04 20:08:01  uzadow</span>
00324 <span class="comment">|      Added PLBmpInfo class, ability to extract metainformation from images without loading the whole image and proper greyscale support.</span>
00325 <span class="comment">|</span>
00326 <span class="comment">|      Revision 1.5  2002/03/06 22:46:54  uzadow</span>
00327 <span class="comment">|      Fixed major PLAnyDec bug</span>
00328 <span class="comment">|</span>
00329 <span class="comment">|      Revision 1.4  2002/03/03 16:29:55  uzadow</span>
00330 <span class="comment">|      Re-added BPPWanted.</span>
00331 <span class="comment">|</span>
00332 <span class="comment">|      Revision 1.3  2001/10/21 17:12:40  uzadow</span>
00333 <span class="comment">|      Added PSD decoder beta, removed BPPWanted from all decoders, added PLFilterPixel.</span>
00334 <span class="comment">|</span>
00335 <span class="comment">|      Revision 1.2  2001/10/06 22:03:26  uzadow</span>
00336 <span class="comment">|      Added PL prefix to basic data types.</span>
00337 <span class="comment">|</span>
00338 <span class="comment">|      Revision 1.1  2001/09/16 19:03:22  uzadow</span>
00339 <span class="comment">|      Added global name prefix PL, changed most filenames.</span>
00340 <span class="comment">|</span>
00341 <span class="comment">|      Revision 1.8  2000/12/18 22:42:52  uzadow</span>
00342 <span class="comment">|      Replaced RGBAPIXEL with PLPixel32.</span>
00343 <span class="comment">|</span>
00344 <span class="comment">|      Revision 1.7  2000/03/30 21:24:15  Ulrich von Zadow</span>
00345 <span class="comment">|      Added MakeBmpFromMemory() function by Markus Ewald</span>
00346 <span class="comment">|</span>
00347 <span class="comment">|      Revision 1.6  2000/01/16 20:43:14  anonymous</span>
00348 <span class="comment">|      Removed MFC dependencies</span>
00349 <span class="comment">|</span>
00350 <span class="comment">|      Revision 1.5  2000/01/11 21:40:30  Ulrich von Zadow</span>
00351 <span class="comment">|      Added instance handle parameter to LoadFromResource()</span>
00352 <span class="comment">|</span>
00353 <span class="comment">|      Revision 1.4  2000/01/08 15:51:30  Ulrich von Zadow</span>
00354 <span class="comment">|      Misc. modifications to png encoder.</span>
00355 <span class="comment">|</span>
00356 <span class="comment">|      Revision 1.3  1999/11/08 22:12:51  Ulrich von Zadow</span>
00357 <span class="comment">|      Andreas Koepf: Added resource type as parameter to</span>
00358 <span class="comment">|      MakeBmpFromResource</span>
00359 <span class="comment">|</span>
00360 <span class="comment">|</span>
00361 <span class="comment">\--------------------------------------------------------------------</span>
00362 <span class="comment">*/</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:40 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>