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
|
<!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: plbmpenc.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 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>plbmpenc.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">| Windows bitmap file encoder. Encodes 1, 4, 8, 24 and 32 bpp</span>
00005 <span class="comment">| bitmaps to a 1, 4, 8 or 24 bpp uncompressed BMP file</span>
00006 <span class="comment">|</span>
00007 <span class="comment">| Copyright (c) 1996-2002 Ulrich von Zadow</span>
00008 <span class="comment">|</span>
00009 <span class="comment">\--------------------------------------------------------------------</span>
00010 <span class="comment">*/</span>
00011
00012 <span class="preprocessor">#ifndef INCL_PLBMPENC</span>
00013 <span class="preprocessor"></span><span class="preprocessor">#define INCL_PLBMPENC</span>
00014 <span class="preprocessor"></span>
00015 <span class="preprocessor">#ifndef INCL_PLPICENC</span>
00016 <span class="preprocessor"></span><span class="preprocessor">#include "plpicenc.h"</span>
00017 <span class="preprocessor">#endif</span>
00018 <span class="preprocessor"></span><span class="comment"></span>
00019 <span class="comment">//! Encoder class for windows bmp files. Writes 1, 8 and 24 bpp. 32 bpp bitmaps </span>
00020 <span class="comment">//! are written as 24 bpp.</span>
<a name="l00021"></a><a class="code" href="classPLBmpEncoder.html">00021</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classPLBmpEncoder.html">PLBmpEncoder</a> : <span class="keyword">public</span> <a class="code" href="classPLPicEncoder.html">PLPicEncoder</a>
00022 {
00023
00024 <span class="keyword">public</span>:<span class="comment"></span>
00025 <span class="comment"> //! Creates an encoder</span>
00026 <span class="comment"></span> <a class="code" href="classPLBmpEncoder.html">PLBmpEncoder</a>
00027 ();
00028 <span class="comment"></span>
00029 <span class="comment"> //! Destroys a encoder</span>
00030 <span class="comment"></span> ~<a class="code" href="classPLBmpEncoder.html">PLBmpEncoder</a>
00031 ();
00032
00033 <span class="comment">// todo: Notification not yet implemented for encoding - ms 3.6.99</span>
00034 <span class="comment">/*</span>
00035 <span class="comment"> static void JNotification</span>
00036 <span class="comment"> (j_common_ptr cinfo</span>
00037 <span class="comment"> );</span>
00038 <span class="comment"> */</span>
00039
00040 <span class="keyword">protected</span>:
00041 <span class="comment">// encodes in bmp format</span>
00042 <span class="keywordtype">void</span> <a class="code" href="classPLBmpEncoder.html#b0">DoEncode</a>
00043 ( <a class="code" href="classPLBmpBase.html">PLBmpBase</a> * pBmp,
00044 <a class="code" href="classPLDataSink.html">PLDataSink</a> * pDataSink
00045 );
00046
00047 <span class="keywordtype">int</span> GetLineMemNeeded(PLLONG width, PLWORD BitsPerPixel);
00048 };
00049
00050 <span class="preprocessor">#endif</span>
00051 <span class="preprocessor"></span>
00052 <span class="comment">/*</span>
00053 <span class="comment">/--------------------------------------------------------------------</span>
00054 <span class="comment">|</span>
00055 <span class="comment">| $Log: plbmpenc_8h-source.html,v $
00055 <span class="comment">| Revision 1.4 2004/09/15 15:26:29 uzadow
00055 <span class="comment">| Linux compatibility changes, doc update.
00055 <span class="comment">|</span>
00056 <span class="comment">| Revision 1.6 2004/06/19 18:16:33 uzadow</span>
00057 <span class="comment">| Documentation update</span>
00058 <span class="comment">|</span>
00059 <span class="comment">| Revision 1.5 2004/06/06 12:56:38 uzadow</span>
00060 <span class="comment">| Doxygenified documentation.</span>
00061 <span class="comment">|</span>
00062 <span class="comment">| Revision 1.4 2002/02/24 13:00:18 uzadow</span>
00063 <span class="comment">| Documentation update; removed buggy PLFilterRotate.</span>
00064 <span class="comment">|</span>
00065 <span class="comment">| Revision 1.3 2001/10/06 22:03:26 uzadow</span>
00066 <span class="comment">| Added PL prefix to basic data types.</span>
00067 <span class="comment">|</span>
00068 <span class="comment">| Revision 1.2 2001/10/06 20:44:45 uzadow</span>
00069 <span class="comment">| Linux compatibility</span>
00070 <span class="comment">|</span>
00071 <span class="comment">| Revision 1.1 2001/09/16 19:03:22 uzadow</span>
00072 <span class="comment">| Added global name prefix PL, changed most filenames.</span>
00073 <span class="comment">|</span>
00074 <span class="comment">| Revision 1.4 2000/12/08 12:32:00 uzadow</span>
00075 <span class="comment">| Added gif decoder by Michael Salzlechner.</span>
00076 <span class="comment">|</span>
00077 <span class="comment">| Revision 1.3 2000/12/02 19:50:01 uzadow</span>
00078 <span class="comment">| Added Logging.</span>
00079 <span class="comment">|</span>
00080 <span class="comment">\--------------------------------------------------------------------</span>
00081 <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>
|