summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-02-21 18:04:12 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-02-21 18:04:12 +0000
commit853b554bc27b05f025fcb143c2577658412045db (patch)
treeffafe22953b857f48ff7107ba0e94adbc501b0a9
parent1454d461f029d14e89027f65b4cdae974e220546 (diff)
downloadnetpbm-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
-rw-r--r--pnmtops.html6
-rw-r--r--pstopnm.html13
2 files changed, 15 insertions, 4 deletions
diff --git a/pnmtops.html b/pnmtops.html
index e131073b..b45f4234 100644
--- a/pnmtops.html
+++ b/pnmtops.html
@@ -2,7 +2,7 @@
 <html><head><title>Pnmtops User Manual</title></head>
 <body>
 <h1>pnmtops</h1>
-Updated: 20 April 2018
+Updated: 21 February 2024
 <br>
 <a href="#index">Table Of Contents</a>
 
@@ -423,7 +423,9 @@ that stream to the printer).
 <p>Ghostscript also can convert the Postscript file to PDF, which is a very
 popular document and image format.  Use Ghostscript's <b>pdfwrite</b> output
 device type.  The program <b>ps2pdf</b> (distributed with Ghostscript) is a
-convenient way to run Ghostscript with <b>pdfwrite</b>.
+convenient way to run Ghostscript with <b>pdfwrite</b>.  For more information
+about converting to and from PDF, see
+<a href="index.html#document">Document/Graphics Software</a>.
 
 
 <h2 id="seealso">SEE ALSO</h2>
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>&apos;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>