mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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_ )
|
||||
|
||||
Reference in New Issue
Block a user