ImageProcessor.Plugins.PDF 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ImageProcessor.Plugins.PDF --version 1.3.0
NuGet\Install-Package ImageProcessor.Plugins.PDF -Version 1.3.0
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="ImageProcessor.Plugins.PDF" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ImageProcessor.Plugins.PDF --version 1.3.0
#r "nuget: ImageProcessor.Plugins.PDF, 1.3.0"
#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 ImageProcessor.Plugins.PDF as a Cake Addin
#addin nuget:?package=ImageProcessor.Plugins.PDF&version=1.3.0

// Install ImageProcessor.Plugins.PDF as a Cake Tool
#tool nuget:?package=ImageProcessor.Plugins.PDF&version=1.3.0

Pdf fileformat for ImageProcessor

This is a plugin for ImageProcessorThis project is a plugin for ImageProcessor. It adds PDF as a supported file format. This gives you the ability to preview the first page of a PDF file on your web page.

Installation using Nuget

Install-Package ImageProcessor.Plugins.PDF

GhostScript

We use GhostScript.Net as a managed wrapper for GhostScript.
The good thing is, you don't need to install ghostscript on your machine. You can just copy (one or both) gsdll32.dll and gsdll64.dll in the /bin directory. These files are not provided in this packages and must be added manually.

I read that Ghostscript does not handle requests from multiple processes.
When running on a webserver, be sure to run the website in his own applicationpool.

Configuration

Just add /myfile.pdf?format=jpg&width=500 to get the first page as an image.

running locally on IIS express

If you run locally, and you have the 64 bit version of ghostscript installed, don't forget to activate 64 bit of IIS express.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.15 5,010 6/25/2020
1.3.9 6,299 11/7/2018
1.3.8 743 11/7/2018
1.3.5 724 11/7/2018
1.3.0 778 11/7/2018
1.2.0 3,482 4/24/2017
1.1.0 1,040 2/1/2017
1.0.6218.36681 990 1/9/2017

Pdfs are rendered as image, when a PDF has multiple pages, only the first is shown.