Code: Select all
convert 3-sample.png -alpha on -background none ^
( +clone -channel a -evaluate multiply 0 +channel -fill white -draw "ellipse 153,128 57,57 0,360" ) ^
-compose DstIn -composite circle_in.png
Code: Select all
using (MagickImage image = new MagickImage(filePath))
{
image.Alpha(AlphaOption.On);
IMagickImage clone = image.Clone();
}
Thank you