1 /*
2  * imagesource_desaturate.h
3  *
4  * Supports Grey and RGB data
5  * Supports random access
6  *
7  * Copyright (c) 2007 by Alastair M. Robinson
8  * Distributed under the terms of the GNU General Public License -
9  * see the file named "COPYING" for more details.
10  *
11  * TODO: Support CMYK Data
12  *
13  */
14 
15 #ifndef IMAGESOURCE_DESATURATE_H
16 #define IMAGESOURCE_DESATURATE_H
17 
18 #include "imagesource.h"
19 
20 class ImageSource_Desaturate : public ImageSource
21 {
22 	public:
23 	ImageSource_Desaturate(ImageSource *source);
24 	~ImageSource_Desaturate();
25 	ISDataType *GetRow(int row);
26 	private:
27 	ImageSource *source;
28 };
29 
30 #endif
31