PDFtoImage 5.1.0-preview6
dotnet add package PDFtoImage --version 5.1.0-preview6
NuGet\Install-Package PDFtoImage -Version 5.1.0-preview6
<PackageReference Include="PDFtoImage" Version="5.1.0-preview6" />
paket add PDFtoImage --version 5.1.0-preview6
#r "nuget: PDFtoImage, 5.1.0-preview6"
// Install PDFtoImage as a Cake Addin #addin nuget:?package=PDFtoImage&version=5.1.0-preview6&prerelease // Install PDFtoImage as a Cake Tool #tool nuget:?package=PDFtoImage&version=5.1.0-preview6&prerelease
PDFtoImage
A .NET library to render PDF files into images.
This .NET library is built on top of
Getting started
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.
Unity project installation
- 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
Install
button:
https://github.com/sungaila/PDFtoImage.git?path=etc/UnityPackage
Supported runtimes
Tested and supported frameworks
- 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)
Index and Range for .NET Framework
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.Index
System.Range
System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute
System.Diagnostics.CodeAnalysis.NotNullWhenAttribute
System.Runtime.CompilerServices.IsExternalInit
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios18.0 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst18.0 is compatible. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 was computed. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
-
.NETFramework 4.7.1
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
-
.NETFramework 4.8.1
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
-
.NETStandard 2.1
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
-
net6.0
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
-
net8.0
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.WebAssembly (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
- Sungaila.PDFium.BlazorWebAssembly (>= 134.0.6982)
-
net8.0-android34.0
- bblanchon.PDFium.Android (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Android (>= 3.116.1)
-
net8.0-ios18.0
- bblanchon.PDFium.iOS (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.iOS (>= 3.116.1)
-
net8.0-maccatalyst18.0
- bblanchon.PDFium.iOS (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.MacCatalyst (>= 3.116.1)
-
net9.0
- bblanchon.PDFium.Linux (>= 136.0.7087)
- bblanchon.PDFium.macOS (>= 136.0.7087)
- bblanchon.PDFium.Win32 (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.116.1)
- SkiaSharp.NativeAssets.macOS (>= 3.116.1)
- SkiaSharp.NativeAssets.WebAssembly (>= 3.116.1)
- SkiaSharp.NativeAssets.Win32 (>= 3.116.1)
- Sungaila.PDFium.BlazorWebAssembly (>= 134.0.6982)
-
net9.0-android35.0
- bblanchon.PDFium.Android (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.Android (>= 3.116.1)
-
net9.0-ios18.0
- bblanchon.PDFium.iOS (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.iOS (>= 3.116.1)
-
net9.0-maccatalyst18.0
- bblanchon.PDFium.iOS (>= 136.0.7087)
- SkiaSharp (>= 3.116.1)
- SkiaSharp.NativeAssets.MacCatalyst (>= 3.116.1)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on PDFtoImage:
Package | Downloads |
---|---|
PDFtoZPL
A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code. |
|
NCPC.Documents
Usefull methods to work with Documents |
|
Siliscrypt.PdfTools
Package Description |
|
PdfOcr
Pdf OCR library based on paddle OCR |
|
ComicMeta
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
5.1.0-preview6 | 521 | 3/25/2025 | |
5.1.0-preview5 | 235 | 3/18/2025 | |
5.0.0 | 59,794 | 12/7/2024 | |
4.1.1 | 179,274 | 9/20/2024 | |
4.1.0 | 316,680 | 7/24/2024 | |
4.0.2 | 54,401 | 6/28/2024 | |
4.0.1 | 238,733 | 3/14/2024 | |
4.0.0 | 29,646 | 2/29/2024 | |
3.1.0 | 58,933 | 1/29/2024 | |
3.0.0 | 19,956 | 12/28/2023 | |
2.4.3 | 67,594 | 11/19/2023 | |
2.4.2 | 42,588 | 10/11/2023 | |
2.4.1 | 18,634 | 9/25/2023 | |
2.4.0 | 22,826 | 9/3/2023 | |
2.3.2 | 2,511 | 8/26/2023 | |
2.3.1 | 21,963 | 7/30/2023 | |
2.3.0 | 3,465 | 7/19/2023 | |
2.2.0 | 203,773 | 2/2/2023 | |
2.1.3 | 17,654 | 1/19/2023 | |
2.1.2 | 114,493 | 7/22/2022 | |
2.1.1 | 15,517 | 6/22/2022 | |
2.1.0 | 6,899 | 5/27/2022 | |
2.0.0 | 823 | 5/25/2022 | |
1.2.1 | 134,859 | 11/10/2021 | |
1.2.0 | 22,100 | 10/10/2021 | |
1.1.3 | 4,488 | 8/26/2021 | |
1.1.2 | 869 | 8/19/2021 | |
1.1.1 | 4,817 | 8/13/2021 | |
1.1.0 | 29,610 | 6/17/2021 | |
1.0.1 | 5,519 | 5/29/2021 | |
1.0.0 | 6,657 | 3/21/2021 |
- Add workaround for SkiaSharp DllNotFoundException issue.
- Add .NET Standard 2.1 as TargetFramework.
- Remove .NET Standard 2.0 as TargetFramework.
- Remove old conversion APIs in favor of System.Index and System.Range.