Thanks for your answer. The splitting of the composite action is very interesting. I dont know about it. is there any sample, documentation that I can look at it ?
this is my code. can I also split the shadow command ?
this is my code. can I also split the shadow command ?
using (montage)
{
MagickImage shadow;
var shadowSize = (int)Math.Round((double)PrintWidth * 0.01);
shadow = new MagickImage(montage);
shadow.BackgroundColor = new MagickColor(System.Drawing.Color.Black);
shadow.Shadow(5, 5, shadowSize, new Percentage(60));
shadow.Composite(montage, Gravity.Center, CompositeOperator.Over);
montage.Dispose();
shadow.Resize(PrintWidth, PrintHeigth);
return shadow;
}
}
montage.Resize(PrintWidth, PrintHeigth);
return montage;