• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

incorrect size when exporting svg file

New Here ,
Apr 05, 2020 Apr 05, 2020

Copy link to clipboard

Copied

When I export my image as an SVG file the output size is too small.

I draw a 10 x 10 cm box and I can see from the SVG file that it is exported as 283.46 pixel rather than 377.95 pixel.

How can I correct this?

 

TOPICS
Draw and design , Import and export , Print and publish

Views

9.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Apr 06, 2020 Apr 06, 2020

10 cm is converted to 283 pixels at 72 ppi, which is Illustrator's default resolution for this.

Votes

Translate

Translate
Community Expert , Apr 06, 2020 Apr 06, 2020

Stuart,

 

The 377.95 px corresponds to 10 cm at 96 PPI, so you can increase the artwork size by dividing the W value by 0.75 and press Ctrl/Cmd+Enter and set your Artboard to 13.3333 x 13.3333 cm.

Votes

Translate

Translate
Adobe
Community Expert ,
Apr 06, 2020 Apr 06, 2020

Copy link to clipboard

Copied

10 cm is converted to 283 pixels at 72 ppi, which is Illustrator's default resolution for this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 06, 2020 Apr 06, 2020

Copy link to clipboard

Copied

Hi Monika.

 

Many thanks for this. Do you know what resolution I would need to set to get the correct pixel count please?

The reason this is important is that I import the file into another program which controls a water jet cutter so I need 10cmm on the screen to convert to 10cm on the water jet . Thanks 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 06, 2020 Apr 06, 2020

Copy link to clipboard

Copied

If youcan't set it up when importing in the other app then you could try and edit the SVG code in a text editor. Or set up your artboard in Illustrator in the desired pixel size.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 06, 2020 Apr 06, 2020

Copy link to clipboard

Copied

Stuart,

 

The 377.95 px corresponds to 10 cm at 96 PPI, so you can increase the artwork size by dividing the W value by 0.75 and press Ctrl/Cmd+Enter and set your Artboard to 13.3333 x 13.3333 cm.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 02, 2021 Aug 02, 2021

Copy link to clipboard

Copied

The correct answer is that Adobe has known about this issue for several years, but does nothing to make Illustrator compatible with the modern world, or the CSS/SVG standard of 96 ppi. A long post to which I and many others contributed on this topic seems to have disappeared! All that is needed is a switch on the SVG output dialog to select 72 or 96 ppi, and then use that to scale the header dimensions as they are written into the output SVG. Evidently, this is beyond the capabilities of Adobe developers despite many, many, customers complaining about this very issue. Anyway, the only solution is to:

1) Use Inkscape and forget Illustrator. Inkscape is a native SVG editor that works and correctly uses 96 ppi.

2) If you must use Illustrator, then unfortunately you are forced to scale all your artwork by 1.333x  (96/72) every time before saving as SVG, which is both time-consuming and annoying even if you have written a script to do all the necessary actions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2021 Aug 02, 2021

Copy link to clipboard

Copied

Please post bugs & feature requests to http://illustrator.uservoice.com

That's the please where you reach the developers.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 02, 2021 Aug 02, 2021

Copy link to clipboard

Copied

This was already raised in: https://illustrator.uservoice.com/forums/333657-illustrator-desktop-feature-requests/suggestions/312... (the thread I was looking for) in January 2018 - three and a half years ago! It is tagged as STARTED, so please can you confirm that developers at Adobe are actively attending to this fundamental issue at the moment?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2021 Aug 02, 2021

Copy link to clipboard

Copied

LATEST

This is a user forum.

95% of people cannot confirm anything. We aren't even staff. That's why it's so fruitless to even post feature requests here.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines