Code: Select all
Magick::Image testImg( Magick::Geometry( 500, 500 ), Magick::Color( QuantumRange, QuantumRange, QuantumRange, QuantumRange ) );
testImg.fx( "i/w" );
testImg.write( "images/test-img.png" );
Code: Select all
Magick::Image testImg( Magick::Geometry( 500, 500 ), Magick::Color( QuantumRange, QuantumRange, QuantumRange, QuantumRange ) );
testImg.fx( "rgba( 255, i/2, i/2, 255 )" );
testImg.write( "images/test-img.png" );
How to work with channels using FX-feature? How to specify it or something like this...?