Is there any way to convert PDF into picture using ImageSharp? #2836
-
So, everything is in the title :) I need to convert a pdf-document into picture (every page should be a picture)? .NET v.4.0, ara there any ways to do it using ImageSharp? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
PDF rendering is a much wider concern than just imaging, and currently there are no SixLabors implementing it. You would need to look for other libs, eg. https://github.com/QuestPDF/QuestPDF (note that lib has a license similar to ours, if yor comany earns more than $1M, you need a paid license). |
Beta Was this translation helpful? Give feedback.
-
Docnet (https://github.com/GowenGit/docnet) has been the simplest project I've found for exporting PDF pages as images. ImageSharp has had no issues loading and manipulating the bitmaps which Docnet creates. |
Beta Was this translation helpful? Give feedback.
-
You can try this project based on PdfPig which is fully managed (no Pdfium). However, it uses SkiaSharp, not ImageSharp. |
Beta Was this translation helpful? Give feedback.
PDF rendering is a much wider concern than just imaging, and currently there are no SixLabors implementing it. You would need to look for other libs, eg. https://github.com/QuestPDF/QuestPDF (note that lib has a license similar to ours, if yor comany earns more than $1M, you need a paid license).