#include <qimage.h>
#include <qstring.h>
#include <math.h>
#include "invert.h"
#include "manipulationOptions.h"
#include "../../gui/statusWidget.h"
Include dependency graph for invert.cpp:
Go to the source code of this file.
Functions | |
QImage * | invertEffect (QString filename, ManipulationOptions *) |
|
Definition at line 40 of file invert.cpp. References editedImage. Referenced by EditingInterface::applyEffect(). 00041 { 00042 //load image 00043 QImage* editedImage = new QImage( filename ); 00044 00045 //invert pixel colors, but not alpha components 00046 editedImage->invertPixels( false ); 00047 00048 //return pointer to edited image 00049 return editedImage; 00050 }
|