From c48a587b7476fdb7dc307dfa9305debd1025e52a Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 6 Jan 2014 11:12:04 +0000 Subject: [PATCH] --- Magick++/demo/demo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.50.1