00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | Windows bitmap file encoder. Encodes 1, 4, 8, 24 and 32 bpp 00005 | bitmaps to a 1, 4, 8 or 24 bpp uncompressed BMP file 00006 | 00007 | Copyright (c) 1996-2002 Ulrich von Zadow 00008 | 00009 \-------------------------------------------------------------------- 00010 */ 00011 00012 #ifndef INCL_PLBMPENC 00013 #define INCL_PLBMPENC 00014 00015 #ifndef INCL_PLPICENC 00016 #include "plpicenc.h" 00017 #endif 00018 00019 class PLBmpEncoder : public PLPicEncoder 00020 { 00021 00022 public: 00024 PLBmpEncoder 00025 (); 00026 00028 ~PLBmpEncoder 00029 (); 00030 00031 // todo: Notification not yet implemented for encoding - ms 3.6.99 00032 /* 00033 static void JNotification 00034 (j_common_ptr cinfo 00035 ); 00036 */ 00037 00038 protected: 00039 // encodes in bmp format 00040 void DoEncode 00041 ( PLBmp * pBmp, 00042 PLDataSink * pDataSink 00043 ); 00044 00045 int GetLineMemNeeded(PLLONG width, PLWORD BitsPerPixel); 00046 }; 00047 00048 #endif 00049 00050 /* 00051 /-------------------------------------------------------------------- 00052 | 00053 | $Log: plbmpenc.h,v $ 00054 | Revision 1.1 2004/05/21 21:02:52 maxx 00055 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00056 | 00057 | Revision 1.1 2002/11/13 01:58:21 mspindle 00058 | *** empty log message *** 00059 | 00060 | Revision 1.4 2002/02/24 13:00:18 uzadow 00061 | Documentation update; removed buggy PLFilterRotate. 00062 | 00063 | Revision 1.3 2001/10/06 22:03:26 uzadow 00064 | Added PL prefix to basic data types. 00065 | 00066 | Revision 1.2 2001/10/06 20:44:45 uzadow 00067 | Linux compatibility 00068 | 00069 | Revision 1.1 2001/09/16 19:03:22 uzadow 00070 | Added global name prefix PL, changed most filenames. 00071 | 00072 | Revision 1.4 2000/12/08 12:32:00 uzadow 00073 | Added gif decoder by Michael Salzlechner. 00074 | 00075 | Revision 1.3 2000/12/02 19:50:01 uzadow 00076 | Added Logging. 00077 | 00078 \-------------------------------------------------------------------- 00079 */