This commit is contained in:
cristy
2014-01-10 12:51:58 +00:00
parent 6031db1dc9
commit 694da975d5
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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;
+1 -1
View File
@@ -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_ )