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

New Post: Merging Text On An Input Image To Produce a Final Image With Text

$
0
0
Hi

Nothing major. Simple 3 lines below reads an image from file system, adds the text onto it and then flushes out the revised image. Works fine just that I am not able to format the text "Test Insertion of Text" with different font type, size and color.

using (MagickImage image = new MagickImage(imagePath + sourceFileName))
            {
                MagickImage blueChnImg = image.Clone();
                blueChnImg.Annotate("Test Insertion of Text", Gravity.West);

                blueChnImg.Write(imagePath + "move-bg-01_withText.jpg");
            }
Thanks

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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