SelectPdf & wkhtmltopdf Alternative for Linux, Docker & .NET 8/10

SelectPdf relies on Windows GDI+/WebKit binaries and `wkhtmltopdf` (`DinkToPdf`) was officially archived due to unpatched Qt WebKit CVEs. ShreePdf runs natively across Linux, macOS, Windows, and Docker on x64 and ARM64.

Dimension SelectPdf / wkhtmltopdf (DinkToPdf) ShreePdf Engine
Linux & ARM64 Docker Support Windows-Only (SelectPdf) or Archived Qt4 WebKit Native Linux x64/ARM64, macOS, Windows
Thread Safety Under Load Single-threaded STA locks / AccessViolation crashes 100% Thread-Safe Concurrent `GenerateBytesAsync()`
Azure App Service / AWS Lambda Compatibility Blocked by GDI+ Sandbox restrictions Runs in Restricted Sandboxes & Serverless

Replace `HtmlToPdf` / `SynchronizedConverter` with ShreePdf

SelectPdf / DinkToPdf (Legacy WebKit) Windows GDI+ / CVE Risk
// Fails on Linux containers or Azure Basic tier HtmlToPdf converter = new HtmlToPdf(); converter.Options.PdfPageSize = PdfPageSize.A4; PdfDocument doc = converter.ConvertHtmlString(htmlString); doc.Save("invoice.pdf"); doc.Close();
ShreePdf (Cross-Platform Vector Engine) Linux & Cloud Native
using ShreePdf.Fluent; // Works identically on Windows, Linux Alpine/Debian, macOS & ARM64 Document.FromHtml(htmlString, ThemePresets.ExecutiveMinimal) .EnableAutoFit() .Save("invoice.pdf");

Unblock Your Linux & Kubernetes Migration

Install ShreePdf via NuGet and deploy to Linux containers in minutes.

Live Playground NuGet Package