AlbumShaper  1.0a3
Functions
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

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;  
}