/Ghostscript.NET

Ghostscript.NET - managed wrapper around the Ghostscript library (32-bit & 64-bit)

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

Ghostscript.NETFork - is an Fork from Ghostscript.NET (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.NETFork

Contains

  • 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.

If you have found Ghostscript.NET useful and has contributed to your project consider donating. Donating helps support Ghostscript.NET.

Click here to lend your support to: Ghostscript.NET and make a donation at pledgie.com !

LICENSE

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

Josip Habjan (habjan@gmail.com)

Samples built on the top of the Ghostscript.NET library

Direct postscript interpretation via Ghostscript.NET:

Ghostscript.NET.Display

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

Ghostscript.NET.Viewer