AlbumShaper
1.0a3
|
#include <qimage.h>
#include <qstring.h>
#include <math.h>
#include "invert.h"
#include "manipulationOptions.h"
#include "../../gui/statusWidget.h"
Go to the source code of this file.
Functions | |
QImage * | invertEffect (QString filename, ManipulationOptions *) |
QImage* invertEffect | ( | QString | filename, |
ManipulationOptions * | |||
) |
Definition at line 40 of file invert.cpp.
References editedImage.
Referenced by EditingInterface::applyEffect().
{ //load image QImage* editedImage = new QImage( filename ); //invert pixel colors, but not alpha components editedImage->invertPixels( false ); //return pointer to edited image return editedImage; }