converting html text takes too long
ahmedzakaria432 opened this issue · comments
Ahmed zakaria commented
iam tying to convert html to pdf and it takes 1 minute to conversion complete
here is my code
using (var converter = new Converter()) { converter.AddChromeArgument("--no-sandbox"); using var ms = new MemoryStream(); converter.ConvertToPdf(viewAsString,ms,new ChromeHtmlToPdfLib.Settings. PageSettings(ChromeHtmlToPdfLib.Enums.PaperFormat.A4)); return ms.ToArray(); }
how can i resolve this issue i am on windows os and running this on my local machine using visual studio
Kees commented
Is there something inside the html to tries to load something external like images?
Kees commented
No response... closed