public static EmbeddedImageType EmbedImage(string pName, string pImagePath, ReportType pReport) { Image vImage = Image.FromFile(pImagePath); string vMIMEType = Base64Util.GetMIMEType(pImagePath); return(EmbedImage(pName, vImage, vMIMEType, pReport)); }