Using SharpDX (a library which gives C# programmers the ability to access DirectX libraries in a managed environment) how would I perform an annotation on an image?
I want to keep the original image just as it was and just add some text to the upper left corner of the image, then save-off the image combined with the annotation.
This is all happening in a console app -- no GUI, no windows forms -- all in a process sight unseen.
Thank you!
public static Bitmap LoadFromFile(RenderTarget renderTarget, string file)
If you have a System.Drawing.Bitmap object, you can create a System.Drawing.Graphics object from the Bitmap, and use the DrawString method to annotate the image.