LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ps2epsi

Convert PostScript to Encapsulated PostScript

TLDR

Convert PS to EPSI
$ ps2epsi [input.ps] [output.epsi]
copy
Convert with preview
$ ps2epsi [input.ps]
copy

SYNOPSIS

ps2epsi input [output]

DESCRIPTION

ps2epsi converts PostScript files to Encapsulated PostScript Interchange (EPSI) format by adding an ASCII preview image header. The EPSI format embeds a low-resolution bitmap preview that applications can display without a PostScript interpreter, making it useful for document layout programs that need to show a visual placeholder.The tool is part of the Ghostscript suite and uses Ghostscript internally to render the preview image. If no output filename is given, the output file is named after the input with an .epsi extension.

PARAMETERS

INPUT

Input PostScript file.
OUTPUT
Output EPSI file.

INSTALL

sudo apt install ghostscript
copy
sudo dnf install ghostscript
copy
sudo pacman -S ghostscript
copy
sudo apk add ghostscript
copy
sudo zypper install ghostscript
copy
brew install ghostscript
copy
nix profile install nixpkgs#ghostscript
copy

CAVEATS

Part of Ghostscript. Creates bitmap preview.

HISTORY

ps2epsi is part of Ghostscript for EPSI conversion.

SEE ALSO

gs(1), ps2pdf(1), ps2ps(1)

Copied to clipboard
Kai