|
AlbumShaper
1.0a3
|

Go to the source code of this file.
Functions | |
| QImage * | invertEffect (QString filename, ManipulationOptions *options) |
| QImage* invertEffect | ( | QString | filename, |
| ManipulationOptions * | options | ||
| ) |
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;
}
1.7.5.1