psbbox(1gmt)

psbbox1gmt

Replace boundingbox line in postscript files by "real" boundingbox

Usage

psbbox.sh file ...

Overview

This program replaces the BoundingBox line in all PostScript files specified on the command line by a BoundingBox determined by the bbox modules of Ghostscript.

Known limitations

Works only for single-page PostScript files. Other limitations are the limitations of the Ghostscript bbox module.
EPS Ghostscript 7.07 occasionally produces no BoundingBox at all. Try using AFPL Ghostscript 8.00 or later instead.

Obsolete

With the production of ps2raster, this script became obsolete.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From gmt 4.5.12-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.