mrbbp.the.one Posted November 11, 2024 Posted November 11, 2024 Hello, i'm working with Processing and svg exported from Designer. It seems there is a prob for export and viewport size in pixels. First, the size indication 100% on the viewbox, Processing read the svg size property and read 100 -> 100px/// not affinity Prob, but mine, i have to edit a script to automaticly change the size to the correct size from viewbox. It's annoying... But the most big problem with svg is how it calculate the size in pixel. My document is in pixel, my rules too, but the export size depend of the dpi export value to obtain a correct viewbox value in pixels! and for the good part, at 100DPI, the output size of viewbox in pixels is correct, not 72 or 96 dpi but 100! I've got the same problem to export svg to my laser cutter software, the svg is not at the good size! i have to draw a 10mm square as a measurement standard to verify the svg size at import Is it me or is it a bug... i lost few hours to understand that the pb come from Affinity setting and not Processing understand regards Quote
mrbbp.the.one Posted November 12, 2024 Author Posted November 12, 2024 i discover an other thing, if we do not choose any DPI, if we leave blank, the output size of the viewbox is good in pixels. regards Quote
Staff stokerg Posted January 31 Staff Posted January 31 Hi @mrbbp.the.one, Can you attach your afdesign file? When i try this with a 72DPI document and export to SVG, my viewport is the correct size, which is what i'd expected. We also recommend a DPI of 72 when exporting for Cutting machines as confirmed on this FAQ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.