This commit is contained in:
John Cupitt 2015-02-28 22:56:09 +00:00
parent 5d912fdbbb
commit 367819b5cc
2 changed files with 13 additions and 7 deletions

14
TODO
View File

@ -5,7 +5,19 @@
- need to add [] overload to Ruby bindings
- overload (x, y) to be getpoint()?
- add
VImage &operator[]( int index )
throw( VError )
{
VImage result = this->extract_band( index );
return( result );
}
to cpp bindings
- overload (x, y) to be getpoint()? c++/py/rb

View File

@ -1263,12 +1263,6 @@ public:
return( a * -1 );
}
friend VImage operator[]( VImage a, int index )
throw( VError )
{
return( a.extract_band( index ) );
}
};
VIPS_NAMESPACE_END