00001 /* 00002 File: JPEGFilter.h 00003 00004 Copyright(C) C. Kotterink, Computed Graphics 00005 */ 00006 #ifndef JPEGFILTER_H 00007 #define JPEGFILTER_H 00008 00009 #include<ImageFilter.h> 00010 00015 class JPEGFilter : public ImageFilter 00016 { 00017 DYNAMIC_OBJECT; 00018 public: 00019 // Inherited from ImageFilter 00021 Image *read(const string &fileName); 00022 void write(const string &fileName, Image &image); 00023 00024 private: 00025 static const int defaultQuality; 00026 }; 00027 #endif