Ghostscript

AGPL-3.0-or-later
Platform
Linux Windows macOS
Licence
AGPL-3.0-or-later Open source
Ghostscript

Overview

Ghostscript is an interpreter for PostScript and PDF that also renders and converts those formats. Its command-line program, gs, is the engine behind a great deal of document tooling on Unix-like systems — most notably the CUPS printing filters — and it can turn PostScript or PDF into raster images, optimise existing PDFs, and convert between document profiles. It has been the reference open-source PostScript/PDF interpreter for decades.

Key Features

  • PostScript and PDF interpreter: Full interpretation and rendering of PS and PDF documents.
  • Raster output: Convert PDF/PS to PNG, JPEG, TIFF and other bitmap devices at chosen resolution.
  • PDF creation and rewriting: Use the pdfwrite device to merge, split, downsample and recompress PDFs.
  • PDF/A and archiving profiles: Produce output conforming to long-term archiving standards.
  • Printing pipeline: Provides the filters used by CUPS and other print systems on Linux and BSD.
  • Font handling: Substitution and embedding of Type 1, TrueType and CID fonts.
  • Scriptable and embeddable: Driven from the command line or embedded through its C API.

Why Use It

Ghostscript is the mature, complete open-source foundation for anything involving PostScript or PDF at a low level. Because almost every Unix print stack and many document tools depend on it, it is already present on most systems and is a reliable building block for batch conversion, compression and archival workflows where heavier GUI applications would be overkill.

Use Cases

  • Printing from Linux, BSD and macOS systems via CUPS filters.
  • Converting PDF or PostScript pages to images for thumbnails or previews.
  • Compressing and optimising large PDFs for distribution.
  • Converting documents to PDF/A for archiving.
  • Batch processing scanned or generated PostScript output.
  • Generating e-book and print-ready output in automated pipelines.

strong copyleft. Artifex also offers commercial licences for use cases the AGPL does not suit.

Explore More Categories

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.