A .NET library to render PDF files into images.


Keywords
Android, Bitmap, C#, Conversion, Convert, Image, JPEG, JPG, MAUI, PDF, PDFium, PNG, Skia, SkiaSharp, WEBP, WebAssembly, Xamarin, iOS, wasm, bitmap-images, dotnet, dotnet-core, dotnetframework, sharp
License
MIT
Install
Install-Package PDFtoImage -Version 2.1.1

Documentation

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 Window → Package 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:
https://github.com/sungaila/PDFtoImage.git?path=etc/UnityPackage

Supported runtimes

Tested and supported frameworks