public void DrawText(string text, string fontName, float fontSize, int posX, int posY, string colorHex) { var font = fontCollection.Get(fontName).CreateFont(fontSize); Image.Mutate(opt => { opt.DrawText(text, font, Color.ParseHex(colorHex), new PointF(posX, posY)); }); }