HakanL / WkHtmlToPdf-DotNet

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
GNU Lesser General Public License v3.0
372 stars 67 forks source link

Does the latest version support.net6? #81

Closed cd-linxi closed 2 years ago

cd-linxi commented 2 years ago

Does the latest version support.net6?

"iCCP: known incorrect sRGB profile" what's the reason?

HakanL commented 2 years ago

Yes it supports .NET6. I believe the message is a warning that the native wkhtmltopdf outputs.

cd-linxi commented 2 years ago

image There is such a mistake, please tell me the reason?

cd-linxi commented 2 years ago

Why y do you include base64 images in your HTML, but the resulting PDF does not contain images?

HakanL commented 2 years ago

Please note that this project is just a wrapper around the native wkhtmltopdf library. Any warnings during generation of the PDF is just passed from the native library, and if there are issues with the HTML then it's best to run the native command line tool from https://wkhtmltopdf.org/ and go from there in your troubleshooting. It is possible somebody here can help you with your HTML, but then you need to include the actual HTML. From your screenshot it looks like you're trying to access local files/images, which is disabled by default.