From: cristy Date: Mon, 6 Jan 2014 11:12:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2961 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c48a587b7476fdb7dc307dfa9305debd1025e52a;p=imagemagick --- diff --git a/Magick++/demo/demo.cpp b/Magick++/demo/demo.cpp index 1535b6769..0b37af553 100644 --- a/Magick++/demo/demo.cpp +++ b/Magick++/demo/demo.cpp @@ -315,7 +315,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; @@ -447,7 +447,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 ); @@ -490,7 +490,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;