Hi Jürgen,

it seems that you set DOT_IMAGE_FORMAT to "svg" in the doxygen
configuration file.
Is that right?

Have a nice weekend
        Peter

Am 02.12.2023 um 13:21 schrieb flap:
Hi list,

I'm using doxygen to generate my documentation including platuml images.
platuml uses SVG file formats and it works fine. The generated HTML code
always uses filenames with the .svg extension.

When I create DITAA images, plantuml only supports PNG files for this kind of
diagrams. The generated HTML code still uses a filename with .svg extension
and this will fail in the browser, since it expects an SVG image, but finds a
PNG file.

I tried to overwrite the filename with this example, but it still doesn't
work.

@startuml {example.png} "ditaa example"
ditaa
+--------+   +-------+    +-------+
|        +---+ ditaa +--> |       |
|  Text  |   +-------+    |Diagram|
|Dokument|   |!Magie!|    |       |
|     {d}|   |       |    |       |
+---+----+   +-------+    +-------+
     :                         ^
     |    Ein Haufen Arbeit    |
     +-------------------------+
@enduml

It generates a PNG file with the name "example.svg" instead.

Is there some trick to force a specific filename for plantuml in these cases
to get a correct html file?

Cheers
Jürgen





_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users


_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to