1pdftopng(1)                 General Commands Manual                pdftopng(1)
2
3
4

NAME

6       pdftopng  - Portable Document Format (PDF) to Portable Network Graphics
7       (PNG) converter (version 4.02)
8

SYNOPSIS

10       pdftopng [options] PDF-file PNG-root
11

DESCRIPTION

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

CONFIGURATION 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

OPTIONS

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

EXIT 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

AUTHOR

90       The pdftopng software and documentation are copyright 1996-2019 Glyph &
91       Cog, LLC.
92

SEE 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                                  25 Sep 2019                      pdftopng(1)
Impressum