Jump to content
Designfreak

Export SVG File (iPad) to save the canvas size in pixels and not percentages. SVGATOR animation

Recommended Posts

Hello, 

i´m a designer and love the affinity designer app on the iPad pro :) but i need help with the export..

i want to export the file on my iPad pro for the program SVGATOR with pixel canvas and not percentage. the problem is, that the animation program (SVGATOR) need it in pixels. 
maybe anybody can help me.

i want width 300 and height 300 no 100% and 100% view box is 00 300 300

br.Dom

WRONG: 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">

 

OK: 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="300" height="300" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">

Share this post


Link to post
Share on other sites

Hi Designfreak and Welcome to the Forums,

Only method i know to do this is, when on the Export screen, disable Set Viewbox and then export the SVG.  The units will now be in pixels :) 

Share this post


Link to post
Share on other sites

Hi @stokerg my lifesaver :) it works! Strange is, that I tried it on different ways included the viewbox and without it. 

Maybe anybody has the same problem, attached my screenshot. 
I export it with airdrop to my MacBook it’s faster ;)

thank you very much!
 

B588D587-3FBB-44A8-987A-8DDEB2760D3F.png

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.