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

Shape Export Pixel for Pixel


Recommended Posts

Hi,

I'll be upfront, I am new, but can't find my solution...

I have shapes that I have drawn to exact pixels. However, no matter how I export as an SVG, some of the exports are not the dimension I created it to be.

My example shape is 364px by 25px. Other viewers online show it to be 364px by 24.5px etc... its not exporting it exactly how its drawn. Tends to be the wide (and not high shapes) that distort.

I have set drawing to pixels, decimal point to 6 for pixels. Tried many many different export settings. I've tried transforming the shape to more standard dimensions (400x25) by adding transparent space... nothing works, I'm stuck.

Any help really appreciated.

shape-364_25.svg shape-364_25.afdesign

Edited by JMemphix
typo
Link to comment
Share on other sites

  • 2 weeks later...
  • Staff

Welcome to the forums @JMemphix apologies for the late reply,

I've inspected your .SVG file contents, it has the viewbox set at 1138x79, which indicates to me that it's been exported out of the app at 300DPI as opposed to your document DPI scale (96). I'd suggest using the default SVG 'For export' preset which uses the 'Use document resolution' option to prevent this scaling on export, and additionally check 'Flatten transforms' to remove the transform matrix data which can cause distortion when viewing in certain apps.

When I import the SVG into a different app such as Inkscape using this preset (and flatten transforms) i'm observing the expected dimensions on the shape.

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.