This package provides the functionality to utilize the features of Syncfusion® .NET Core PdfToImageConverter.
$ dotnet add package Syncfusion.PdfToImageConverter.Net.CoreThe Syncfusion® ASP.NET Core Pdf To Image converter package use PDFium to convert the PDF to image without opening the document in the PDF Viewer control.

Docs | Blogs | Support | Forums | Feedback
Install the Syncfusion.PdfToImageConverter.Net.Core NuGet package as reference to your .Net Core application from NuGet.org.
//Initialize PDF to Image converter.
PdfToImageConverter imageConverter = new PdfToImageConverter();
//Load the PDF document as a stream
FileStream inputStream = new FileStream("File Path goes here", FileMode.Open, FileAccess.ReadWrite);
imageConverter.Load(inputStream);
//Convert PDF to Image.
Stream[] outputStream = imageConverter.Convert(0,imageConverter.PageCount-1,false,false);
for(int i=0; i < outputStream.Length; i++)
{
Image image = Image.FromStream(outputStream[i]);
using (FileStream stream = new FileStream("sample-"+i+".png", FileMode.Create, FileAccess.Write))
{
byte[] data = image.ImageData;
stream.Write(data, 0, data.Length);
}
}
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion® has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies. Today, we provide 1800+ components and frameworks for web (Blazor, Flutter, ASP.NET Core, ASP.NET MVC, ASP.NET Web Forms, JavaScript, Angular, React, Vue, and jQuery), mobile (.NET MAUI (Preview), Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI (Preview), Flutter,Xamarin, and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET