From: cristy Date: Fri, 10 Jan 2014 12:51:58 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2914 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=694da975d5e7334c1958edd559cea773a584b475;p=imagemagick --- diff --git a/Magick++/demo/demo.cpp b/Magick++/demo/demo.cpp index 38e8a4d01..963b2ab96 100644 --- a/Magick++/demo/demo.cpp +++ b/Magick++/demo/demo.cpp @@ -324,7 +324,7 @@ int main( int /*argc*/, char ** argv) cout << " ordered dither red 4x4..." << endl; example = model; example.label( "Ordered Dither\n(Red 4x4)" ); - example.randomThresholdChannel( Geometry(4,4), RedChannel); + example.randomThresholdChannel( RedChannel, Geometry(4,4)); images.push_back( example ); cout << " plasma ..." << endl; @@ -456,7 +456,7 @@ int main( int /*argc*/, char ** argv) cout << " wave ..." << endl; example = model; example.label( "Wave" ); - example.matte( true ); + example.alpha( true ); example.backgroundColor( "#000000FF" ); example.wave( 25, 150 ); images.push_back( example ); @@ -499,7 +499,7 @@ int main( int /*argc*/, char ** argv) } for_each( montage.begin(), montage.end(), depthImage(8) ); - for_each( montage.begin(), montage.end(), matteImage( false ) ); + for_each( montage.begin(), montage.end(), alphaImage( false ) ); for_each( montage.begin(), montage.end(), compressTypeImage( RLECompression) ); cout << "Writing image \"demo_out.miff\" ..." << endl; diff --git a/Magick++/demo/detrans.cpp b/Magick++/demo/detrans.cpp index 1a515b162..7e075eb30 100644 --- a/Magick++/demo/detrans.cpp +++ b/Magick++/demo/detrans.cpp @@ -45,7 +45,7 @@ int main(int argc,char **argv) Image overlay( fname ); Image base( overlay.size(), color ); base.composite( overlay, 0, 0, OverCompositeOp ); - base.matte( false ); + base.alpha( false ); base.write( fname ); } catch( Exception &error_ )