~ubuntu-branches/ubuntu/karmic/photoprint/karmic

« back to all changes in this revision

Viewing changes to imagesource/imagesource_desaturate.h

  • Committer: Bazaar Package Importer
  • Author(s): Milan Zamazal
  • Date: 2007-05-01 16:32:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20070501163213-k0gaendx7grjlmk5
Tags: upstream-0.3.5
ImportĀ upstreamĀ versionĀ 0.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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