(--------)
Hello J.,
Yes just by adding creole IMG tag (with link to an image), as:
@startuml participant "<img:https://plantuml.com/logo3.png>" as a a -> b return @enduml
See doc. here:
Enjoy,Th.
Hi Th.,thanks for your reply.When I try this, the error message
(Cannot decode: https://plantuml.com/logo3.png)
is shown in the participant box Regards,J.B.
Hello,I think your plantUML server has not Internet Access. If you do it with the PlantUML main server:
Another solution is to use local sprite or emoji, as:
@startuml sprite UserRound <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <g fill="none" stroke="000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"> <path d="M12 21.25C17.1086 21.25 21.25 17.1086 21.25 12C21.25 6.89137 17.1086 2.75 12 2.75C6.89137 2.75 2.75 6.89137 2.75 12C2.75 17.1086 6.89137 21.25 12 21.25Z" ></path> <path d="M12.1303 13C13.8203 13 15.1903 11.63 15.1903 9.94C15.1903 8.25001 13.8203 6.88 12.1303 6.88C10.4403 6.88 9.07031 8.25001 9.07031 9.94C9.07031 11.63 10.4403 13 12.1303 13Z"></path> <path d="M6.5 19.11C6.80719 17.8839 7.51529 16.7956 8.51178 16.0179C9.50827 15.2403 10.736 14.818 12 14.818C13.264 14.818 14.4917 15.2403 15.4882 16.0179C16.4847 16.7956 17.1928 17.8839 17.5 19.11"></path> </g> </svg> participant "<$UserRound>" as a participant "<:1f600:>" as b a -> b return @enduml
Regards,Th.
I found a solution:
@startuml!define MY_PICTURE data:image/png;base64,<base64-endocded-picture>participant "<img:MY_PICTURE>" as a...
Participant "<img:/IMAGES/DESP.png{scale=0.3}>\nDESP" as DESP
and the .png file is put on the IMAGES folder at the same level as the .puml document