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

New Post: Best fit label

$
0
0
You can let ImageMagick calculate the size for you if you specify the width and height when you read the label.
var imgLabel = new MagickImage();

imgLabel.Font = "Arial";
imgLabel.BackgroundColor = white;
imgLabel.FillColor = black;
imgLabel.TextGravity = Gravity.Center;

imgLabel.Read("label:" + text2, rect2.Width, rect2.Height);

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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