Ghostscript.Core 1.5.0-preview-1.0.2

This is a prerelease version of Ghostscript.Core.
dotnet add package Ghostscript.Core --version 1.5.0-preview-1.0.2
NuGet\Install-Package Ghostscript.Core -Version 1.5.0-preview-1.0.2
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="Ghostscript.Core" Version="1.5.0-preview-1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ghostscript.Core --version 1.5.0-preview-1.0.2
#r "nuget: Ghostscript.Core, 1.5.0-preview-1.0.2"
#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 Ghostscript.Core as a Cake Addin
#addin nuget:?package=Ghostscript.Core&version=1.5.0-preview-1.0.2&prerelease

// Install Ghostscript.Core as a Cake Tool
#tool nuget:?package=Ghostscript.Core&version=1.5.0-preview-1.0.2&prerelease

Ghostscript.Core - (written in C#) is the most completed managed wrapper library around the Ghostscript library (32-bit & 64-bit), an interpreter for the PostScript language, PDF, related software and documentation.

NuGet: PM> Install-Package Ghostscript.Core


  • GhostscriptViewer - View PDF, EPS or multi-page PostScript files on the screen
  • GhostscriptRasterizer - Rasterize PDF, EPS or multi-page PostScript files to any common image format.
  • GhostscriptProcessor - An easy way to call a Ghostscript library with a custom arguments / switches.
  • GhostscriptInterpreter - The PostScript interpreter.

Other features

  • allows you to rasterize files in memory without storing the output to disk.
  • supports zoom-in and zoom-out.
  • supports progressive update.
  • allows you to run multiple Ghostscript instances simultaneously within a single process.
  • compatible with 32-bit and 64-bit Ghostscript native library.

Latest changes - 2021-03-09 - v.1.2.3.

  • fixed GhostscriptRasterizer/GhostscriptViewer and Ghostscript v.9.50+ compatibility issues.

Latest changes - 2021-02-04 - v.1.2.2.

  • fixed Ghostscript v.9.26 + (all later versions) compatibility.
  • fixed problem when opening path/file that contains non ASCII characters.
  • fixed "Arithmetic operation resulted in an overflow" when using multithread instance.
  • changed Y and Y DPI settings to match GhostscriptViewer.
  • fixed CurrentPage → TotalPages logging.
  • fixed watermark transparency bug for PDF.


Ghostscript.Core is distributed under the GNU Affero General Public License (see COPYING file).

Samples built on the top of the Ghostscript.Core library

Direct postscript interpretation via Ghostscript.Core:


Ghostscript.Core.Viewer (supports viewing of the PDF, EPS and multi-page PS files):


Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  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.  net6.0-windows7.0 is compatible.  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.  net7.0-windows7.0 is compatible.  net8.0 was computed.  net8.0-android was computed.  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 netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ghostscript.Core:

Package Downloads
Moriyama.PreviewPDF.Ghostscript The ID prefix of this package has been reserved for one of the owners of this package by

A package which creates a thumbnail for a PDF uploaded to the Umbraco CMS media section using Ghostscript

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Ghostscript.Core:

Repository Stars
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
Version Downloads Last updated
1.5.0-preview-1.0.2 387 5/13/2023
1.5.0-preview-1.0.1 74 5/13/2023
1.5.0-preview-1.0.0 2,814 5/10/2023

Added compatibility for .NET Standard, .NET Core and .NET 5, 6 & 7