Posted by a ceTe Software moderator
Hello Anup,
This issue has been fixed in the latest DynamicPDF Converter for .NET (v3.07). You can download latest product from NuGet (Package ID: ceTe.DynamicPDF.Converter.NET) or from our website
here.
Also please follow the below steps:
1. Install chromium.
2. Please run the chromium with the no-sandbox and disable-gpu tags. Here are the docker commands:
RUN echo '#!/bin/bash' > chrome
RUN echo 'chromium --no-sandbox --disable-gpu $@' >> chrome
RUN chmod +x chrome
3. Set the static ChromiumProcessPath property of the HtmlConverter class.
4. Set the temporary directory path
Here is a code sample:
HtmlConverter.ChromiumProcessPath = @"/home/hc/chrome";
ConversionOptions.TemporaryDirectory= @"/home/hc/temp";
Converter.Convert(https://www.google.com/, "output.pdf");
Thanks,
ceTe Software Support Team