GNOME Bugzilla – Bug 554638
Diagrams are not re-generated when switching image format
Last modified: 2010-11-10 17:23:21 UTC
When DOT_IMAGE_FORMAT is changed and Doxygen is re-run from an Xcode script, the images for all the diagrams are not re-generated. However, the <img> tags in the HTML are updated to reference the new type. This leads to lots of broken images without any warning or feedback from Doxygen. A similar, but less important issue is that the images are also not re-generated if DOT_PATH is changed. When experimenting with different tools, this is a bit of a pain, since it requires deleting the existing docs and re-generating everything, which wastes ~10 seconds every time for me. Of note, the diagrams ARE re-generated when DOT_FONTNAME is changed. Thanks, - Quinn
Confirmed. Should be fixed in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.1. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.
I've confirmed that in 1.7.1, changing DOT_IMAGE_FORMAT regenerates the diagrams. I did notice that sometimes it takes more than one run for the change to take effect, sometimes requiring me to save/touch the Doxyfile more than once for it to "take". I don't know if this is unrelated to recent changes, but I generate diagrams using DOT from GraphViz on OS X, and now JPG images have bizarre grainy artifacts, and GIF images are dark blue arrows on a black background. I prefer to use PNG anyway, but I noticed when testing changes of image format.
Hi Quinn, (In reply to comment #3) > I've confirmed that in 1.7.1, changing DOT_IMAGE_FORMAT regenerates the > diagrams. I did notice that sometimes it takes more than one run for the change > to take effect, sometimes requiring me to save/touch the Doxyfile more than > once for it to "take". Strange, if you an example or set of steps that allows me to reproduce this issue then please attach it. I assume you use the wizard? does it make a difference if you run doxygen from the Terminal app? (the executable can be found in /Applications/Doxygen.app/Contents/Resources/doxygen) > > I don't know if this is unrelated to recent changes, but I generate diagrams > using DOT from GraphViz on OS X, and now JPG images have bizarre grainy > artifacts, and GIF images are dark blue arrows on a black background. I prefer > to use PNG anyway, but I noticed when testing changes of image format. Doxygen provides the .dot file to DOT, so it is DOT that generates the final image. I also noticed something strange when testing the jpeg output. Firefox didn't show the images at all (while other browsers did). Seems that the images produced by dot are not completely standards compliant or something. Other than that the images looked ok for me (using dot 2.26.3).
Quinn, Ping.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!