1 /*
2  * imagesource_greyscale.h
3  *
4  * Supports RGB and CMYK data
5  * Supports random access
6  *
7  * Copyright (c) 2008 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  */
12 
13 #ifndef IMAGESOURCE_GREYSCALE_H
14 #define IMAGESOURCE_GREYSCALE_H
15 
16 #include "imagesource.h"
17 
18 class ImageSource_Greyscale : public ImageSource
19 {
20 	public:
21 	ImageSource_Greyscale(ImageSource *source);
22 	~ImageSource_Greyscale();
23 	ISDataType *GetRow(int row);
24 	private:
25 	ImageSource *source;
26 };
27 
28 #endif
29