2014-10-27 14:41:44 +01:00
|
|
|
|
|
|
|
VImage VImage::invert( VOption *options )
|
2014-10-20 15:54:03 +02:00
|
|
|
throw( VError )
|
2014-10-20 12:50:34 +02:00
|
|
|
{
|
2014-10-27 14:41:44 +01:00
|
|
|
VImage out;
|
2014-10-20 12:50:34 +02:00
|
|
|
|
2014-10-27 14:41:44 +01:00
|
|
|
call( "invert",
|
|
|
|
(options ? options : VImage::option())->
|
|
|
|
set( "in", *this )->
|
|
|
|
set( "out", &out ) );
|
2014-10-20 12:50:34 +02:00
|
|
|
|
|
|
|
return( out );
|
|
|
|
}
|
2014-10-27 14:41:44 +01:00
|
|
|
|