ImageProcessor.Plugins.PDF 1.3.0

A plugin for ImageProcessor adding PDF as a recognized input format.  This allows you to easily show thumbnails from PDF's.

There is a newer version of this package available.
See the version list below for details.
Install-Package ImageProcessor.Plugins.PDF -Version 1.3.0
dotnet add package ImageProcessor.Plugins.PDF --version 1.3.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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&amp;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.

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&amp;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.

Release Notes

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

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.9 822 11/7/2018
1.3.8 119 11/7/2018
1.3.5 118 11/7/2018
1.3.0 149 11/7/2018
1.2.0 1,460 4/24/2017
1.1.0 364 2/1/2017
1.0.6218.36681 296 1/9/2017