Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

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

image.png.1b7efb8faaa4e345682fbe66f904083f.png

 

BIM HSL SIGNS -2.afdesign

Link to comment
Share on other sites

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) ...

export_png2.jpg.d3b1487dc9268ddfdc894b66f88f1b70.jpg

export_png.jpg.19a19a93c9a0b10276215676c65387ea.jpg

export_png3.jpg.967c20037b61d46f0423c9324c66a0de.jpg

 

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.

☛ 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

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

512export.png

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

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.

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.