pdftohtml1
Program to convert pdf files into html, xml and png images
Usage
pdftohtml [options]
<PDF-file>
[<HTML-file>
<XML-file>]
Overview
This manual page documents briefly the pdftohtml command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
pdftohtml is a program that converts PDF documents into HTML. It generates its output in the current working directory. If PDF-file is ´-', it reads the PDF file from stdin.
Options
A summary of options are included below.
-
-h, -help -
Show summary of options.
-
-f <int> -
first page to print
-
-l <int> -
last page to print
-
-q -
do not print any messages or errors
-
-v -
print copyright and version info
-
-p -
exchange .pdf links with .html
-
-c -
generate complex output
-
-s -
generate single HTML that includes all pages
-
-dataurls -
use data URLs instead of external images in HTML. No available in all platforms
-
-i -
ignore images
-
-noframes -
generate no frames. Not supported in complex output mode.
-
-stdout -
use standard output
-
-zoom <fp> -
zoom the PDF document (default 1.5) (1 means 72 DPI)
-
-xml -
output for XML post-processing
-
-noroundcoord -
do not round coordinates (with XML output only)
-
-enc <string> -
output text encoding name
-
-opw <string> -
owner password (for encrypted files)
-
-upw <string> -
user password (for encrypted files)
-
-fmt -
image file format for Splash output (png or jpg). If complex is selected, but -fmt is not specified, -fmt png will be assumed
-
-nomerge -
do not merge paragraphs
-
-nodrm -
override document DRM settings
-
-wbt <fp> -
adjust the word break threshold percent. Default is 10. Word break occurs when distance between two adjacent characters is greater than this percent of character height.
-
-fontfullname -
outputs the font name without any substitutions.
Releases
12 releases since Debian 3.1 (Sarge); the text changed 6 times.
-dataurls since Debian 11 (Bullseye);
-fmt since Debian 7 (Wheezy);
-fontfullname since Debian 8 (Jessie);
-noroundcoord since Debian 11 (Bullseye);
-s since Debian 7 (Wheezy);
-wbt since Debian 8 (Jessie).
-dev until Debian 7 (Wheezy);
-noRoundedCoordinates until Debian 10 (Buster).