A .NET library to render PDF files into images.
This .NET library is built on top of
Call a static method from PDFtoImage.Conversion:
SaveJpeg, SavePng, SaveWebp and ToImage for a single page.
ToImages and ToImagesAsync for multiple pages.
Note: SkiaSharp.SKBitmap can be exported with the Encode method.
- Open your project and navigate to
Window→Package Manager. - Click on the
+button (top-left corner) and selectInstall package from git URL.... - Enter the following URL and confirm with the
Installbutton:
https://github.com/sungaila/PDFtoImage.git?path=etc/UnityPackage
- ASP.NET
- ASP.NET Core
- Blazor WebAssembly
- .NET Multi-platform App UI (.NET MAUI)
- Unity
- Universal Windows Platform (UWP)
- Windows UI Library 3 (WinUI 3)
PolySharp is used to enable the use of System.Index and System.Range in .NET Framework projects. As a side effect, the following classes are generated and exposed, which should not be used directly by your project:
System.IndexSystem.RangeSystem.Diagnostics.CodeAnalysis.DoesNotReturnAttributeSystem.Diagnostics.CodeAnalysis.NotNullWhenAttributeSystem.Runtime.CompilerServices.IsExternalInit