Show
Ignore:
Timestamp:
11/13/09 12:05:42 (4 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk/Magick++/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/Magick++/lib/Image.cpp

    r247 r584  
    10671067} 
    10681068 
    1069 // Convolve image.  Applies a mathematical expression to the image. 
     1069// Fx image.  Applies a mathematical expression to the image. 
     1070void Magick::Image::fx ( const std::string expression ) 
     1071{ 
     1072  ExceptionInfo exceptionInfo; 
     1073  GetExceptionInfo( &exceptionInfo ); 
     1074  MagickCore::Image* newImage = 
     1075    FxImageChannel ( image(), DefaultChannels, expression.c_str(), &exceptionInfo ); 
     1076  replaceImage( newImage ); 
     1077  throwException( exceptionInfo ); 
     1078  (void) DestroyExceptionInfo( &exceptionInfo ); 
     1079} 
    10701080void Magick::Image::fx ( const std::string expression, 
    10711081                         const Magick::ChannelType channel ) 
  • ImageMagick/trunk/Magick++/lib/Magick++/Image.h

    r247 r584  
    361361 
    362362    // Applies a mathematical expression to the image. 
     363    void            fx ( const std::string expression ); 
    363364    void            fx ( const std::string expression, 
    364365                         const Magick::ChannelType channel );