Participant - custom images

0 votes
asked Nov 3, 2025 in Question / help by anonymous
Hi Team. I need to do sequence diagrams, however, I wanted to use my own images on the participants. Can you please advise if it is possible, and how?

I am using VSCode, I tried to run the java -jar plantuml-1.2025.8-javadoc.jar   or even to create a sprite of the image, but I am getting that Error: Invalid or corrupt jarfile plantuml-1.2025.8-javadoc.jar.

Can you please advise?

Thanks in advance.

Best,

Natacha

2 Answers

0 votes
answered Nov 11, 2025 by valexiev (1,820 points)

Well, plantuml-1.2025.8-javadoc.jar is a javadoc not the executable jar.

0 votes
answered 11 hours ago by Cyril VIGNET (140 points)

Participant "<img:/IMAGES/DESP.png{scale=0.3}>\nDESP" as DESP

The image in .png (or jpg) flile is put in the folder IMAGES at the same level of the .puml doc. 

I alos use VScode and it works well 

...