internal static void SaveLabel(string v, IMAGE_LABEL_INFO label, double w, double h) { try { System.IO.File.WriteAllText(v, label.GenerateFile(w, h)); } catch (Exception e) { Console.Error.WriteLine(e.Message + e.StackTrace); } }
private void SaveLabel(string v) { System.IO.File.WriteAllText(v, label.GenerateFile(img.Width, img.Height)); }