diff options
author | albert-github <albert.tests@gmail.com> | 2015-02-08 10:29:00 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-02-08 10:29:00 (GMT) |
commit | a09ffed2f603699955c18c19e0d3e782fb61d93f (patch) | |
tree | 0df3f69e7c752c954ff3ec42b02fc91682d8acb9 /src/config.xml | |
parent | 5bfda3d4c1158e5429349a2698339650dcfbbe88 (diff) | |
download | Doxygen-a09ffed2f603699955c18c19e0d3e782fb61d93f.zip Doxygen-a09ffed2f603699955c18c19e0d3e782fb61d93f.tar.gz Doxygen-a09ffed2f603699955c18c19e0d3e782fb61d93f.tar.bz2 |
Support generating index-color PNG files
Based on the request http://stackoverflow.com/questions/27036474/how-do-make-doxygen-generate-index-color-png-files for index colored png files, this functionality will be included in the newer versions (2.39) of dot.
The functionality -Tpng:cairo:gd will automatically be used by doxygen, though the file extension would be wrong (.png:cairo:gd).
With this patch the :cairo:gd is stripped from the image extension, but not from the -T of the dot command.
In the doxywizard the different possibilities are supplied as well. Note however that the DOT_IMAGE_FORMAT name is not checked when read from the Doxyfile so it is possible to use other renderer / formats as well due to the generic solution with getDot ImageExtension.
Diffstat (limited to 'src/config.xml')
-rw-r--r-- | src/config.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/config.xml b/src/config.xml index 438b885..b6f1936 100644 --- a/src/config.xml +++ b/src/config.xml @@ -3271,7 +3271,9 @@ to be found in the default search path. <docs> <![CDATA[ The \c DOT_IMAGE_FORMAT tag can be used to set the image format of the images - generated by \c dot. + generated by \c dot. For an explanation of the image formats see the section output formats + in the documentation of the \c dot tool + (<a href="http://www.graphviz.org/">Graphviz</a>). \note If you choose \c svg you need to set \ref cfg_html_file_extension "HTML_FILE_EXTENSION" to \c xhtml in order to make the SVG files visible in IE 9+ (other browsers do not have this requirement). @@ -3281,6 +3283,14 @@ to be found in the default search path. <value name='jpg'/> <value name='gif'/> <value name='svg'/> + <value name='png:gd'/> + <value name='png:gd:gd'/> + <value name='png:cairo'/> + <value name='png:cairo:gd'/> + <value name='png:cairo:cairo'/> + <value name='png:cairo:gdiplus'/> + <value name='png:gdiplus'/> + <value name='png:gdiplus:gdiplus'/> </option> <option type='bool' id='INTERACTIVE_SVG' defval='0' depends='HAVE_DOT'> <docs> |