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().

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 }


Generated by  doxygen 1.6.2