Logic Machine Forum
Image distorted - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Image distorted (/showthread.php?tid=5598)



Image distorted - JMemphix - 04.09.2024

I'm using a separate drawing program to create a layout, and then build it with the module visualisation, and I utilise the location and size detail from the drawing program.
Works well mostly... long and thin shapes (imported as icons) are shrinking (adding blank space). 
See image with black background = original, verses what can be seen via inspector with label 364 x 25 under it = yellow shape shrunk with blank space.

Any ideas?

Basic shapes I can distort to work = still strange. More complex shapes are near impossible to fix.

Can't confirm if its drawing program or module.

Thanks


RE: Image distorted - admin - 04.09.2024

Attach one of your SVG images.


RE: Image distorted - JMemphix - 04.09.2024

Thanks.

I can't see in the properties of the image any reference to size or dimensions. But that is the image that should be 364 px wide, 25 px high.


RE: Image distorted - admin - 04.09.2024

SVG viewBox parameter sets the dimensions. According to the view box aspect ratio height should be around 29px (28.8) if width is 364px.


RE: Image distorted - JMemphix - 04.09.2024

Thanks. Now checking online viewers as to what size the graphic is... something off with drawing program (DPI adjusting scale on export). Appreciate the help.