Copy link to clipboard
Copied
Short version first. I need to export my layers into SVG 1.1, which seems to be the only setting not available when I export. I'm importing these into PE Design 11.
If I open each exported SVG individually (There are about 200 of them so far) and save them as SVG 1.1, PE Design recognizes them. All the same settings on Export (Except version which there is no option to select), and PE Design gives me an unsupported error.
My settings (Aside from version) are, Styling: Presentation Attributes, Font: Convert to Outlines (All my fonts are already converted, but just in case), Images: Link, Object ID: Layer Name, Decimals: 4, both Minify and Responsive are disabled. It works when I save, but not when I export.
I'm not opposed to using scripts, or third party plugins if any are available, or if someone can put me in the basic direction of writing my own script (I'm not much of a coder, but I know enough to be dangerous).
Thanks for any help you guys can offer, and let me know if there is any more information that you need to help me.
I'm going to include the code of each SVG file below:
Bad SVG. No cookie!
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" width="80.9599" height="98.6846" viewBox="0 0 80.9599 98.6846">
<g id="Layer_2_copy" data-name="Layer 2 copy">
<g id="Tongue">
<path d="M27.268,41.6152c.2148-.375.5083-.8887,1.1035-1.2305.5903-.3398,1.3789-.5107,2.5728-.7695,1.314-.2852,3.1133-.6748,4.2129-1.292,7.1221-3.998,10.3232-10.4033,8.563-17.1357-1.4409-5.5098-6.5552-11.0693-14.7329-11.0693-2.4541,0-5.0098.5234-7.5952,1.5547-5.125,2.0459-8.1997,5.1943-8.8921,9.1064-.8594,4.8584,2.0088,10.9199,7.4858,15.8203,1.3301,1.1895,5.9609,4.5537,7.2178,5.1279.0229-.0391.0454-.0781.0645-.1123Z" fill="#ce0808"/>
<path d="M72.8402,15.1006c3.0078,0,5.4756-.3223,7.3354-.958.4785-.1631.6978-.3086.7842-.3779-.0518-.4902-.7793-1.6758-1.2231-2.3994l-.1826-.2979C76.2504,5.6592,68.4999.9883,61.5258.2021,60.3349.0684,59.1224,0,57.9227,0c-3.6904,0-6.8545.6562-8.9097,1.8486-2.3408,1.3574-5.9106,6.0625-5.4575,7.1924.7119.457,5.2568,1.918,8.8462,2.9053,2.6909.7402,12.1177,3.1543,20.4385,3.1543Z" fill="#ce0909"/>
<path d="M13.286,98.6846c6.7017,0,13.7939-2.6465,17.6484-6.5859.416-.4248,1.731-2.1406,2.2974-3.0293-.1006-.0273-.2026-.0527-.2886-.0742-.3901-.0986-.832-.21-1.2568-.415l-.7939-.3887c-1.7505-.8633-2.3398-1.1533-4.5088-1.2598-.2803-.0127-.5957-.0195-.9409-.0195-5.6084,0-18.874,1.6807-22.9111,3.1338-1.4761.5312-2.3931,1.252-2.5151,1.9766-.1445.8604.6689,2.124,2.1235,3.2979,2.687,2.1699,6.6455,3.3643,11.146,3.3643Z" fill="#ce0909"/>
</g>
</g>
</svg>
Good SVG. I may embroider you.
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 29.7.1, SVG Export Plug-In . SVG Version: 9.03 Build 0) -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="80.96px"
height="98.68px" viewBox="0 0 80.96 98.68" enable-background="new 0 0 80.96 98.68" xml:space="preserve">
<g id="Layer_2_00000179621994113224838290000007697983783667160220_">
<path fill="#CE0808" d="M27.27,41.62c1.2511-2.497,5.6724-1.8385,7.8799-3.2902c14.4668-7.2758,10.6562-27.7111-6.1701-28.2101
C5.2472,11.7371,9.6892,32.7948,27.2,41.73c0.02-0.04,0.05-0.08,0.06-0.11H27.27z"/>
</g>
<g id="Layer_3">
<path fill="#CE0909" d="M72.84,15.1c3.3764-0.0761,5.9629-0.2248,8.12-1.34C76.4136,0.4247,48.4493-7.0018,43.55,9.04
C51.3275,11.9331,59.8241,14.6096,72.84,15.1z"/>
</g>
<g id="Layer_4">
<path fill="#CE0909" d="M13.29,98.68c8.3367-0.237,15.9354-3.1517,19.95-9.62c-2.5791-0.6051-3.963-2.2065-6.85-2.1398
c-5.9532-0.1567-19.4055,1.5912-23.85,3.1098c-8.0107,3.691,5.9662,9.3771,10.75,8.6401L13.29,98.68z"/>
</g>
</svg>
Copy link to clipboard
Copied
@Neil5C6B instead of 'exporting the SVG... have you thought of 'Saving as a SVG'?
So, I would create an action with one file. And then do run a batch to do the other 199 files! As long it's the same steps that you need to do for each one?
Copy link to clipboard
Copied
I guess that is my only option. In the interest of saving myself hours of googling, how would I go about running a batch of "open file", "Save as SVG with presets", repeat?
Copy link to clipboard
Copied
If the SVG version declaration is the issue, could you perhaps do a find & replace using a text editor like VS Code to insert it?
Would be vastly quicker than resaving 200 files, even if automated.
Copy link to clipboard
Copied
I wish that were the only issue, but the newer version contains extra instructions that PE Design has no idea what to do with. If I just change the version number, it opens up as a tangled mess of spaghetti. Thank you for the reply, though. 😄
Find more inspiration, events, and resources on the new Adobe Community
Explore Now