root/main/trunk/binaries/windows/bin/xpdf-tools/doc/pdftopng.txt @ 32207

Revision 32207, 3.5 KB (checked in by ak19, 16 months ago)

Got a basic Windows version of PDFPlugin's new paged_html mode working

Line 
1pdftopng(1)                 General Commands Manual                pdftopng(1)
2
3
4
5NAME
6       pdftopng  - Portable Document Format (PDF) to Portable Network Graphics
7       (PNG) converter (version 4.00)
8
9SYNOPSIS
10       pdftopng [options] PDF-file PNG-root
11
12DESCRIPTION
13       Pdftopng converts  Portable  Document  Format  (PDF)  files  to  color,
14       grayscale, or monochrome image files in Portable Network Graphics (PNG)
15       format.
16
17       Pdftopng reads the PDF file, PDF-file, and writes one PNG file for each
18       page,  PNG-root-nnnnnn.png,  where  nnnnnn is the page number.  If PNG-
19       root is '-', the image is sent to stdout (this is probably only  useful
20       when converting a single page).
21
22CONFIGURATION FILE
23       Pdftopng reads a configuration file at startup.  It first tries to find
24       the user's private config file, ~/.xpdfrc.  If that doesn't  exist,  it
25       looks  for  a  system-wide config file, typically /usr/local/etc/xpdfrc
26       (but this location can be changed when pdftopng  is  built).   See  the
27       xpdfrc(5) man page for details.
28
29OPTIONS
30       Many  of  the following options can be set with configuration file com-
31       mands.  These are listed in square brackets with the description of the
32       corresponding command line option.
33
34       -f number
35              Specifies the first page to convert.
36
37       -l number
38              Specifies the last page to convert.
39
40       -r number
41              Specifies the resolution, in DPI.  The default is 150 DPI.
42
43       -mono  Generate a monochrome image (instead of a color image).
44
45       -gray  Generate a grayscale image (instead of a color image).
46
47       -alpha Generate  an alpha channel in the PNG file.  This is only useful
48              with PDF files that have been  constructed  with  a  transparent
49              background.  The -alpha flag cannot be used with -mono.
50
51       -freetype yes | no
52              Enable  or  disable  FreeType  (a TrueType / Type 1 font raster-
53              izer).  This defaults to "yes".  [config file: enableFreeType]
54
55       -aa yes | no
56              Enable or disable font anti-aliasing.  This defaults  to  "yes".
57              [config file: antialias]
58
59       -aaVector yes | no
60              Enable or disable vector anti-aliasing.  This defaults to "yes".
61              [config file: vectorAntialias]
62
63       -opw password
64              Specify the owner password for the  PDF  file.   Providing  this
65              will bypass all security restrictions.
66
67       -upw password
68              Specify the user password for the PDF file.
69
70       -q     Don't print any messages or errors.  [config file: errQuiet]
71
72       -v     Print copyright and version information.
73
74       -h     Print usage information.  (-help and --help are equivalent.)
75
76EXIT CODES
77       The Xpdf tools use the following exit codes:
78
79       0      No error.
80
81       1      Error opening a PDF file.
82
83       2      Error opening an output file.
84
85       3      Error related to PDF permissions.
86
87       99     Other error.
88
89AUTHOR
90       The pdftopng software and documentation are copyright 1996-2017 Glyph &
91       Cog, LLC.
92
93SEE ALSO
94       xpdf(1),  pdftops(1),  pdftotext(1),  pdftohtml(1),  pdfinfo(1),   pdf-
95       fonts(1), pdfdetach(1), pdftoppm(1), pdfimages(1), xpdfrc(5)
96       http://www.xpdfreader.com/
97
98
99
100                                  10 Aug 2017                      pdftopng(1)
Note: See TracBrowser for help on using the browser.