diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-02-21 18:04:12 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-02-21 18:04:12 +0000 |
commit | 853b554bc27b05f025fcb143c2577658412045db (patch) | |
tree | ffafe22953b857f48ff7107ba0e94adbc501b0a9 /pstopnm.html | |
parent | 1454d461f029d14e89027f65b4cdae974e220546 (diff) | |
download | netpbm-mirror-853b554bc27b05f025fcb143c2577658412045db.tar.gz netpbm-mirror-853b554bc27b05f025fcb143c2577658412045db.tar.xz netpbm-mirror-853b554bc27b05f025fcb143c2577658412045db.zip |
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4847 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pstopnm.html')
-rw-r--r-- | pstopnm.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pstopnm.html b/pstopnm.html index 74e05c56..a1b26003 100644 --- a/pstopnm.html +++ b/pstopnm.html @@ -2,7 +2,7 @@ <html><head><title>Pstopnm User Manual</title></head> <body> <h1>pstopnm</h1> -Updated: 06 December 2013 +Updated: 21 February 2024 <br> <a href="#index">Table Of Contents</a> @@ -63,7 +63,7 @@ from its value. <p>This program is part of <a href="index.html">Netpbm</a>. -<p><b>pstopnm</b> reads a PostScript file as input and produces PBM, +<p><b>pstopnm</b> reads a PostScript or PDF file as input and produces PBM, PGM, or PPM images as output. This program simply uses GhostScript to render a PostScript file with its PNM device drivers. If you don't have GhostScript installed or the version you have installed was not @@ -293,6 +293,15 @@ wouldn't use those in a program). <p>Note that Ghostscript bugs can keep this from doing a perfect reversible conversion. +<p>PDF is a subset of Postscript, so <b>pstopnm</b> can convert from PDF to +Netpbm format, but often produces the wrong size image because of +<b>pstopnm</b>'s reliance on a BoundingBox DSC statement, which PDF does +not have. With pure text PDFs, it works fine. In other cases, you can get +better results by converting to general Postscript with the <b>pdf2ps</b> +program that comes with Ghostscript. For more information about converting to +and from PDF, see +<a href="index.html#document">Document/Graphics Software</a>. + <h2 id="options">OPTIONS</h2> |