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

Affinity Designer svg fades can’t be uploaded for Gran Turismo 7.


Recommended Posts

I don’t know if anyone can help me with this. 
I design decals for a PlayStation game in the svg format. 
applying a one colour svg files is not a problem as long as you stick to their rules.

・The file size can not exceed 15 KB

・Lettering will be converted to outlines

・Ensure special blending modes such as addition and multiplication have not been used

・Ensure that bitmaps have not been embedded

・The SVG file version should be 1.0 or 1.1

The problem I have is that if I make a simple shape and apply a fade from one colour to another,  when I upload to the site it turns the shape black. However if I use a free software called Vectornator  it works fine. I’ve taken a look at the code of this item and compared it to one made in designer and it shows the colour matrix as a different type. I want to just use designer for these graphics. 
here are the two svg files in code. The first one is a designer file the second is the Vectornator file:

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

 

<!-- Created with Vectornator (http://vectornator.io/) -->

<svg height="100%" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;" version="1.1" viewBox="0 0 2871 2784" width="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:vectornator="http://vectornator.io" xmlns:xlink="http://www.w3.org/1999/xlink">

<metadata>

<vectornator:setting key="IsTimeLapseWatermarkDisabled" value="false"/>

<vectornator:setting key="UndoHistoryDisabled" value="true"/>

<vectornator:setting key="VNDimensionsVisible" value="true"/>

<vectornator:setting key="VNSnapToGuides" value="true"/>

<vectornator:setting key="WDCMYKEnabledKey" value="false"/>

<vectornator:setting key="WDDisplayWhiteBackground" value="false"/>

<vectornator:setting key="WDDynamicGuides" value="false"/>

<vectornator:setting key="WDGuidesVisible" value="true"/>

<vectornator:setting key="WDIsolateActiveLayer" value="false"/>

<vectornator:setting key="WDOutlineMode" value="false"/>

<vectornator:setting key="WDRulersVisible" value="true"/>

<vectornator:setting key="WDSnapToEdges" value="false"/>

<vectornator:setting key="WDSnapToGrid" value="false"/>

<vectornator:setting key="WDSnapToPoints" value="false"/>

<vectornator:setting key="WDUnits" value="Points"/>

</metadata>

<defs>

<radialGradient cx="0" cy="0" gradientTransform="matrix(246.45 -243.173 243.173 246.45 1036.11 1340.16)" gradientUnits="userSpaceOnUse" id="RadialGradient" r="0.942287">

<stop offset="0" stop-color="#ebebeb" stop-opacity="0"/>

<stop offset="0.57" stop-color="#bcbcbc" stop-opacity="0.2"/>

<stop offset="0.79" stop-color="#5b5b5b" stop-opacity="0.61"/>

<stop offset="1" stop-color="#000000"/>

</radialGradient>

</defs>

<g id="Untitled" vectornator:layerName="Untitled">

<path d="M1109.64 1026.36L1360.46 1026.36L1360.46 1026.36L1360.46 1269.54L1360.46 1269.54L1109.64 1269.54L1109.64 1269.54L1109.64 1026.36L1109.64 1026.36Z" fill="url(#RadialGradient)" fill-rule="evenodd" opacity="1" stroke="none"/>

</g>

</svg>

_____________________________________________

 

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

 

<!-- Created with Vectornator (http://vectornator.io/) -->

<svg height="100%" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;" version="1.1" viewBox="0 0 2871 2784" width="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:vectornator="http://vectornator.io" xmlns:xlink="http://www.w3.org/1999/xlink">

<metadata>

<vectornator:setting key="IsTimeLapseWatermarkDisabled" value="false"/>

<vectornator:setting key="UndoHistoryDisabled" value="true"/>

<vectornator:setting key="VNDimensionsVisible" value="true"/>

<vectornator:setting key="VNSnapToGuides" value="true"/>

<vectornator:setting key="WDCMYKEnabledKey" value="false"/>

<vectornator:setting key="WDDisplayWhiteBackground" value="false"/>

<vectornator:setting key="WDDynamicGuides" value="false"/>

<vectornator:setting key="WDGuidesVisible" value="true"/>

<vectornator:setting key="WDIsolateActiveLayer" value="false"/>

<vectornator:setting key="WDOutlineMode" value="false"/>

<vectornator:setting key="WDRulersVisible" value="true"/>

<vectornator:setting key="WDSnapToEdges" value="false"/>

<vectornator:setting key="WDSnapToGrid" value="false"/>

<vectornator:setting key="WDSnapToPoints" value="false"/>

<vectornator:setting key="WDUnits" value="Points"/>

</metadata>

<defs>

<radialGradient cx="151.137" cy="2435.19" gradientTransform="matrix(1 0 0 1 0 0)" gradientUnits="userSpaceOnUse" id="RadialGradient" r="2597.34">

<stop offset="0" stop-color="#ebebeb" stop-opacity="0"/>

<stop offset="0" stop-color="#bcbcbc" stop-opacity="0.2"/>

<stop offset="0.609792" stop-color="#5b5b5b" stop-opacity="0"/>

<stop offset="1" stop-color="#000000"/>

</radialGradient>

</defs>

<g id="Untitled" vectornator:layerName="Untitled">

<path d="M638.264 599.68L1992.21 599.68L1992.21 1953.63L638.264 1953.63L638.264 599.68Z" fill="url(#RadialGradient)" fill-rule="evenodd" opacity="1" stroke="none"/>

</g>

</svg>
 

 

if anyone can help me I would greatly appreciate it. 

Link to comment
Share on other sites

Hello and welcome!

First of all it's better to use the forums CODE insert option, in order to better read then the SVG code in a more formatted manner. So like this for example ...

<?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="2871px" height="2784px" 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;">
    <g id="Untitled">
        <rect x="638.264" y="599.68" width="1353.95" height="1353.95" style="fill:url(#_Radial1);"/>
    </g>
    <defs>
        <radialGradient id="_Radial1" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2597.34,0,0,2597.34,151.137,2435.19)">
          <stop offset="0" style="stop-color:rgb(235,235,235);stop-opacity:0"/>
          <stop offset="0" style="stop-color:rgb(188,188,188);stop-opacity:0.2"/>
          <stop offset="0.61" style="stop-color:rgb(91,91,91);stop-opacity:0"/>
          <stop offset="1" style="stop-color:black;stop-opacity:1"/>
      </radialGradient>
    </defs>
</svg>

 

When doing a compare of your initial two SVG code files here ...

compare.thumb.png.5adfa32390244e57b904aad6192a98df.png

I think the stop settings for the radialGradient are slightly different and when you export from Affinity, try to disable the viewBox setting under Export > SVG (see the more ... button there for further SVG export options) and see if it then looks different (you can crosscheck in a webbroser like Firefox etc. when opening the SVG file there).

Here's your Vectornator one exported from ADe for tryout ...

test_ade2.svg

☛ 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

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.