Dim img As ImageMagick.MagickImage = New MagickImage(path)
img.Draw(New DrawableFont("Comic Sans MS", FontStyleType.Italic, FontWeight.Weight400, FontStretch.Normal))
img.Draw(New DrawableFillColor(New MagickColor(10, 10, 10)))
img.Draw(New DrawableText(50, 15, "Shafi"))
img.Write(outputFilename)
The code above is generating image, but text is drawing as plain text only, the DrawableFont and DrawableFillColor is not at all reflecting.
Can someone help me out, I want to generate formatted text based Images.
img.Draw(New DrawableFont("Comic Sans MS", FontStyleType.Italic, FontWeight.Weight400, FontStretch.Normal))
img.Draw(New DrawableFillColor(New MagickColor(10, 10, 10)))
img.Draw(New DrawableText(50, 15, "Shafi"))
img.Write(outputFilename)
The code above is generating image, but text is drawing as plain text only, the DrawableFont and DrawableFillColor is not at all reflecting.
Can someone help me out, I want to generate formatted text based Images.