Search code examples
c#imageprofileusingavatar

Picture profile generator c# usings


I'm trying to follow this model (Set default user profile picture to an image of their initials) but my solution doesn't recognize these [usings]:

using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Drawing.Text;

I want to apply this in my xamarin forms project but I also tried on a simple PLC NET Framework but the error is the same. Can you help me?

Note: I use the same solution with 2 projects - 1 xamarin forms and other PLC Net Framework.


Solution

  • Work around: you can use SkiaSharp for drawing image.