Converting HTML with the Internal Converter

HTML file Conversions (HTML)

The internal converter can also be used (in build and later) to convert HTML documents to to TIF.  This is done by rendering the document and paginating it into a Windows metafile for each page, then using the internal converter to create a TIF from it.

This method of conversion has the following advantages:

The Document Converter print driver is not required. Note, however, that you may still require this print driver for other types of document, so the Document Converter still checks for it.  To suppress the checks that this driver is present, set the environment variable NO_CV_PRINT to a non-empty value, and avoid conversions which require the driver.

HTML can be converted to PDF for e-mailing.

QPDF_OPTIONS can be used to customize the conversion process from WMF to TIF.  From build the processing no longer uses an intermediate PDF file and the WMF is rendered at the final resolution without the need to re-scale it.

The page size used for rendering is as specified by environment variable DEFAULT_CONVERTER_PAGE and variable CONVERTER_PAGE.

The aspect ratio of the document is preserved.  By default the image is placed on in the center of the width of the larger TIF page, but QPDF_OPTIONS keyword left can be used to override this.

Output TIF files are often dramatically smaller and therefore can be transmitted more quickly.

Conversion is faster without the overhead of loading Internet Explorer for each conversion.

To use this option, specify a $convert_options keyword of NoIE, or use letter N in environment variable CVTOPTS or -N on the CVSINGLE command line.

All the QPDF_OPTIONS are available to control the appearance of the output.  See also Supported Document Formats for other image conversion options.