Could a width and height attribute be supported in addition to {scale=...}

+3 votes
asked Nov 29, 2019 in Wanted features by boshka (3,940 points)
edited Nov 29, 2019 by boshka
Could you add a support for width/height parameters for scaling images in <img:url{...}>

So, that:

1. if only width is provided, then the image would be proportionally scaled to this width

2. if only height is provided, then the image would be proportionally scaled to this height

3. if both are provided, then the image would be scaled to the width and height

1 Answer

0 votes
answered Nov 25, 2023 by GavinPen (140 points)
You can use the scale command to resize images, see https://plantuml.com/commons

But I don't know of a way to resize width or height separately
...