1 /***************************************************************************
2 colorsim.h - description
4 begin : Mon Jan 21 14:54:37 CST 2008
5 copyright : (C) 2008 by Matthew Woehlke
6 email : mw_triad@users.sourceforge.net
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef KMAGCOLORSIM_H
19 #define KMAGCOLORSIM_H
21 // include files for Qt
22 #include <QtGui/QImage>
23 #include <QtGui/QPixmap>
27 * Recolor a pixmap according to the specified simulation mode:
33 QPixmap
recolor(const QPixmap
&pm
, int mode
, qreal gamma
= 1.0);