1 /*
2 * Copyright (C) 2007 Authors:
3 * Christopher Brown <audiere@gmail.com>
4 * Ted Gould <ted@gould.cx>
5 *
6 * Released under GNU GPL, read the file 'COPYING' for more information
7 */
9 #include "imagemagick.h"
11 namespace Inkscape {
12 namespace Extension {
13 namespace Internal {
14 namespace Bitmap {
16 class LevelChannel : public ImageMagick
17 {
18 private:
19 float _black_point;
20 float _white_point;
21 float _mid_point;
22 const gchar * _channelName;
23 public:
24 void applyEffect(Magick::Image *image);
25 void refreshParameters(Inkscape::Extension::Effect *module);
26 static void init(void);
27 };
29 }; /* namespace Bitmap */
30 }; /* namespace Internal */
31 }; /* namespace Extension */
32 }; /* namespace Inkscape */