2
Tech Writer 67.8k 33.7m 7y Check the below link -
https://sautinsoft.com/blog/?p=489
Hope this will help you.
1
Hi Sukaskha,
Convert PDF document to jpeg along with other image formats is fairly simple with Spire.PDF library. You can get Spire.Pdf.dll from NuGet(https://www.nuget.org/packages/Spire.PDF/) and then refer to the following articles:
https://www.e-iceblue.com/Tutorials/Spire.PDF/Spire.PDF-Program-Guide/Convert-PDF-Page-to-Image-with-Specified-Resolution.html
https://www.e-iceblue.com/Tutorials/Spire.PDF/Spire.PDF-Program-Guide/Convert-PDF-Page-to-Image-with-C-code.html
1
Thanks Shweta. I'll check.
0
There are plenty of libraries that allow you to convert PDF files to JPEG or image formats.
With LEADTOOLS you can do it with three lines of code:
- RasterCodecs _codecs = new RasterCodecs();
- RasterImage _img = _codecs.Load(@"C:\Users\Public\Documents\LEADTOOLS Images\leadtools.pdf");
- _codecs.Save(_img, @"C:\Users\Public\Documents\LEADTOOLS Images\leadtools.JPG", RasterImageFormat.Jpeg411, 24);
It also supports wide set of file formats and sub-formats not only JPG. For more information see this page:
https://www.leadtools.com/help/leadtools/v20/main/api/summary-of-all-supported-image-file-formats.html