1 /*
2  * imagesource_scaledensity.h
3  * Scales values in an imagesource according to a given value.
4  * Scales RGB towards IS_SAMPLEMAX, scales Grey and CMYK towards 0.
5  *
6  * Copyright (c) 2008 by Alastair M. Robinson
7  * Distributed under the terms of the GNU General Public License -
8  * see the file named "COPYING" for more details.
9  *
10  */
11 
12 #ifndef IMAGESOURCE_SCALEDENSITY_H
13 #define IMAGESOURCE_SCALEDENSITY_H
14 
15 #include "imagesource.h"
16 #include "lcmswrapper.h"
17 
18 
19 class ImageSource_ScaleDensity : public ImageSource
20 {
21 	public:
22 	ImageSource_ScaleDensity(ImageSource *source,ISDeviceNValue densities);
23 	virtual ~ImageSource_ScaleDensity();
24 	ISDataType *GetRow(int row);
25 	private:
26 	ImageSource *source;
27 	ISDeviceNValue densities;
28 };
29 
30 #endif
31