Changeset 584 for ImageMagick/trunk/Magick++
- Timestamp:
- 11/13/09 12:05:42 (4 months ago)
- Location:
- ImageMagick/trunk/Magick++/lib
- Files:
-
- 2 modified
-
Image.cpp (modified) (1 diff)
-
Magick++/Image.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/Magick++/lib/Image.cpp
r247 r584 1067 1067 } 1068 1068 1069 // Convolve image. Applies a mathematical expression to the image. 1069 // Fx image. Applies a mathematical expression to the image. 1070 void 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 } 1070 1080 void Magick::Image::fx ( const std::string expression, 1071 1081 const Magick::ChannelType channel ) -
ImageMagick/trunk/Magick++/lib/Magick++/Image.h
r247 r584 361 361 362 362 // Applies a mathematical expression to the image. 363 void fx ( const std::string expression ); 363 364 void fx ( const std::string expression, 364 365 const Magick::ChannelType channel );
