gary danang Posted January 1, 2021 Share Posted January 1, 2021 Hi everyone,,, having trouble exporting to specific mm sizes when saving SVG vector graphics [for signage] Are have prepared 48 sign panels at full size artwork 600mm x 600mm as a series of artboards I want to export them at 512x512 px PNG for some rendering software and full size [mm] as SVG and AI files to the sign fabricator.. both having trouble in both regards When I exporrt as PNG i get each artboard exported at 7000 x 7000px [roughly the overal document size [eg all the artboards combined] in mm] so I have to batch resample them down to 512 x 512 in photo designer as a seaparate task... When I export the files as full size SVG each panel is exported as 7000x7000px [2500x3500mm] , not 600x600mm as expected the new file defaults to px units even though my parent document units are mm... as for getting 2500mm rather than 600x600mm has me mystified. did a lot of research before coming here.. nearly all tuts refer to pixel sizes , not mm any help appreciated BIM HSL SIGNS -2.afdesign Quote Link to comment Share on other sites More sharing options...
v_kyr Posted January 1, 2021 Share Posted January 1, 2021 Hi, at least for the PNG export as 512 x 512 pixel you can setup those defined sizes for the slices in the Export Persona by editing the sizes field (1x, 2x, ... double click entries and overwrite to edit them) ... For the SVG export as slices things are different here, you can't specify the export size for it's SVG width/height or viewBox dimensions explicitely! 4 hours ago, gary danang said: When I export the files as full size SVG each panel is exported as 7000x7000px [2500x3500mm ?] , not 600x600mm as expected Though here 7000x7000 px (at 300 dpi) should be around 59,27 x 59,27 cm which in turn are 592,7 x 592,7 mm then, so nearly 600 x 600 mm. gary danang 1 Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
David in Яuislip Posted January 1, 2021 Share Posted January 1, 2021 600mm at 300dpi converts to pixels thus: 600 / 25.4 * 300 = 7086.614173 Affinity svgs are in pixels, I do not know of a way to change this but you can modify the width & height settings Open the svg with a text editor and change <svg width="100%" height="100%" viewBox="0 0 7087 7087" to <svg width="600mm" height="600mm" viewBox="0 0 7087 7087" If this works then you can change all of them easily if you're using windows by using Notepad++ as this allows search/replace to operate on all open documents I don't have Designer but with Publisher you can export 512 x 512px pngs very simply Quote Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10 Link to comment Share on other sites More sharing options...
gary danang Posted January 2, 2021 Author Share Posted January 2, 2021 Thanks guys for your feedback...will investigate more based on your comments... Strange that a vector format expesses size in pixels... sounds like a pretty basic bug ? Quote Link to comment Share on other sites More sharing options...
lepr Posted January 2, 2021 Share Posted January 2, 2021 9 hours ago, gary danang said: Strange that a vector format expesses size in pixels Affinity apps internally use pixel as the unit of measurement and use the document PPI (misnamed as DPI) to translate the pixel quantities to and from other units of measurement, such as mm, in the UI. Similarly, Affinity apps specify sizes in pixels in an exported SVG. An Artboard of 600 x 600 mm when the document has 72 PPI is actually specified as 1700.8 x 1700.8 px (or some other quantity of pixels and a transformation matrix) in the Affinity app and document. Its size will be specified in pixels in an exported SVG. If the SVG is opened in an app that considers 72 pixels to be one inch, the size translates to 600 x 600 mm. An Artboard of 600 x 600 mm when the document has 300 PPI is actually specified as 7086.6 x 7086.6 px (or some other quantity of pixels and a transformation matrix) in the Affinity app and document. Its size will be specified in pixels in an exported SVG. If the SVG is opened in an app that considers 72 pixels to be one inch, the size translates to 2500 x 2500 mm. Quote Link to comment Share on other sites More sharing options...
gary danang Posted January 3, 2021 Author Share Posted January 3, 2021 thanks for the explanations.... and I guess I will have to live with the software as is nevertheless... if I set someting up using mm - I certainly dont expect it to be changed in physical dimensions and units on export SVG is a essentially a vector file format,, not a bitmap format -- if I express an object in vector units, I would expect that to to honoured... certainly not arbitarily rescaled by a pixel ratio... WOW, seems a basic software FAIL! (I come form Coreldraw and Micrographix Designer usage... is that what you normally expect to happen in Illustrator [eg SVG exports expressed in pixels?) Quote Link to comment Share on other sites More sharing options...
gary danang Posted January 3, 2021 Author Share Posted January 3, 2021 Thx V_kyr , that was a rather obscure interface input process from Affinity... dont recall seeing it expalianed anywhere before but it worked for exporting PNGs. regards Quote Link to comment Share on other sites More sharing options...
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.