I have searched for a long time. I know it is part of the extended package, but I cannot seem to find any examples. Even a hello world example on how to write text to an Image Sharp image. Thanks for any help.
public Image DragImage {
get {
SixLabors.ImageSharp.Image<Rgba32> ri = new((int)rect.Width, (int)rect.Height);
//FieldName on the ri Image just created
return ri;
}
}
Here are the NuGet packages you'll want to reference:
And here's an example code to draw some text on an image: