SYNOPSIS

DESCRIPTION

Pdftopng reads
the PDF file, PDF-file, and writes one PNG file for
each page, PNG-root-nnnnnn.png, where
nnnnnn is the page number. If PNG-root is
´-’, the image is sent to stdout (this is
probably only useful when converting a single page).

CONFIGURATION FILE

Pdftopng reads
a configuration file at startup. It first tries to find the
user’s private config file, ~/.xpdfrc. If that
doesn’t exist, it looks for a system-wide config file,
typically /usr/local/etc/xpdfrc (but this location can be
changed when pdftopng is built). See the xpdfrc(5)
man page for details.

OPTIONS

Many of the
following options can be set with configuration file
commands. These are listed in square brackets with the
description of the corresponding command line option.
−fnumber

Specifies the first page to
convert.

−lnumber

Specifies the last page to
convert.

−rnumber

Specifies the resolution, in
DPI. The default is 150 DPI.

−mono

Generate a monochrome image (instead of a color
image).

−gray

Generate a grayscale image (instead of a color
image).

−alpha

Generate an alpha channel in the PNG file. This is only
useful with PDF files that have been constructed with a
transparent background. The −alpha flag cannot be used
with −mono.