Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: How to tell MagickNet 7 to use more CPU

$
0
0
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 ?
            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;

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>