SVG Graphic Dimensions
Check scaling an svg image where Dimensions are given in SVG file in Inches: <sgv
+ width="24.09375in" height="9.40625in">
. The image is created by the
+ MagicDraw UML Software.
Issue 432 is that
+ the generated HTML creates an img
with wrong size:
+ style="width:144px;height:96px;"
(which is 1.5in x 1.0in
).
Function f:object-properties
in objects.xsl
uses the
+ external function ext:image-metadata
, which seems to fail when dimensions in an
+ SVG file are given as value with units.
Original Size | Scaled 25% | ||
---|---|---|---|
Inch | px | px | |
Height | 9,40625 | 903 | 226 |
Width | 24,09375 | 2313 | 578 |