AlbumShaper 1.0a3
invert.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QImage * invertEffect (QString filename, ManipulationOptions *options)
 

Function Documentation

◆ invertEffect()

QImage * invertEffect ( QString filename,
ManipulationOptions * options )

Definition at line 40 of file invert.cpp.

41{
42 //load image
43 QImage* editedImage = new QImage( filename );
44
45 //invert pixel colors, but not alpha components
46 editedImage->invertPixels( false );
47
48 //return pointer to edited image
49 return editedImage;
50}
QImage * editedImage

References editedImage.

Referenced by EditingInterface::applyEffect().