sphinx.ext.imgconverter – Convert images to appropriate format for builders

New in version 1.6.

This extension converts images in your document to appropriate format for builders. For example, it allows you to use SVG images with LaTeX builder. As a result, you don’t mind what image format the builder supports.

Internally, this extension uses Imagemagick to convert images.

Configuration

image_converter

A path to convert command. By default, the imgconverter uses the command from search paths.

image_converter_args

Additional command-line arguments to give to convert, as a list. The default is an empty list [].