carta
psrip(1)

psrip1

Extracts images from postscript-files

Usage

psrip [-d dir] psfile(s)

Examples

psrip foil.ps
Extract images from foil.ps into current directory.

psrip -d images foil1.ps foil2.ps TeX/*.ps
Extract images of these ps-files into directory images.

Overview

The script saves the lines between '%%BeginDocument: name' and '%%EndDocument' to a new file named dir/name.

History

  • Debian 13 (Trixie) to Debian 10 (Buster): the text shown here
  • Debian 9 (Stretch) to Debian 3.1 (Sarge)

Bugs

If there is no 'BoundingBox' specified in the extracted image you have to insert it by hand. E.g. for DIN-a4 size:
%%BoundingBox: 0 0 596 842

Author

Christian Lackas <[email protected]>, 10 December 1999.

This tool is dedicated to Nikolay 'Snake' Sturm.

Thanks to Rolf Niepraschk for his help in publishing an bug reporting.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

From psrip 1.3-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.