PDFtoImage 4.0.1

dotnet add package PDFtoImage --version 4.0.1
NuGet\Install-Package PDFtoImage -Version 4.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PDFtoImage" Version="4.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PDFtoImage --version 4.0.1
#r "nuget: PDFtoImage, 4.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PDFtoImage as a Cake Addin
#addin nuget:?package=PDFtoImage&version=4.0.1

// Install PDFtoImage as a Cake Tool
#tool nuget:?package=PDFtoImage&version=4.0.1

PDFtoImage Logo PDFtoImage

GitHub Workflow Build Status GitHub Workflow Test Runs Succeeded SonarCloud Quality Gate NuGet version NuGet downloads Website GitHub license

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

  1. Open your project and navigate to WindowPackage Manager.
  2. Click on the + button (top-left corner) and select Add package from git URL....
  3. Enter the following URL and confirm with the Add button:

Breaking changes in v4.0.0

Starting with v4.0.0 the struct RenderOptions is used for most methods. This is a breaking change when updating from v3.1.0 and older.

Option 1: Migrate to new API

// this will not compile anymore
PDFtoImage.Conversion.SaveJpeg("image.jpg", pdfStream, dpi: 300, rotation: PdfRotation.Rotate90);

// use this instead
PDFtoImage.Conversion.SaveJpeg("image.jpg", pdfStream, options: new(Dpi: 300, Rotation: PdfRotation.Rotate90));

Option 2: Change namespace

Note: This namespace is used for backward compatibility and will be removed in a future version.

using PDFtoImage;
using Conversion = PDFtoImage.Compatibility.Conversion;

Supported runtimes

Tested and supported frameworks

Product 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 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  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-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  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.  monoandroid10.0 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on PDFtoImage:

Package Downloads

A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code.


Usefull methods to work with Documents


Pdf OCR library based on paddle OCR


Package Description


Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.1 61,459 3/14/2024
4.0.0 11,827 2/29/2024
4.0.0-preview 66 2/27/2024
3.1.0 37,343 1/29/2024
3.0.0 12,884 12/28/2023
2.4.3 43,739 11/19/2023
2.4.2 31,259 10/11/2023
2.4.1 14,525 9/25/2023
2.4.0 15,023 9/3/2023
2.3.2 1,912 8/26/2023
2.3.1 14,745 7/30/2023
2.3.0 2,953 7/19/2023
2.2.0 160,207 2/2/2023
2.1.3 13,043 1/19/2023
2.1.2 100,203 7/22/2022
2.1.1 13,636 6/22/2022
2.1.0 6,688 5/27/2022
2.0.0 707 5/25/2022
2.0.0-preview5 11,004 2/8/2022
2.0.0-preview 6,181 1/2/2022
1.2.1 94,906 11/10/2021
1.2.0 19,471 10/10/2021
1.1.3 3,545 8/26/2021
1.1.2 727 8/19/2021
1.1.1 4,485 8/13/2021
1.1.1-preview 413 7/29/2021
1.1.0 27,228 6/17/2021
1.0.1 4,212 5/29/2021
1.0.0 5,356 3/21/2021

- Fixed interactions between parameters Bounds and Width/Height.