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

Affinity Designer SVGs Imported into Figma do not show up


Recommended Posts

I am going mental with this...I am exporting an SVG file in Affinity Designer (attached) and when I drag it into Figma, I get what the attached screenshot shows.

I have unchecked "Set viewBox" as suggested in other posts but it still does not display the image. PNG files display fine but I'd like to use an SVG in Figma.

Thank you.

 

CleanShot 2021-10-08 at 15.10.12.png

scorpiotek-logo-white-with-tail.svg

Link to comment
Share on other sites

  • Staff

Hi @csaborio,

Welcome to the Affinity Forums :)

Please see the below thread where this has been discussed previously -

I can also see your SVG has been exported as a Raster layer,within a group, within another layer object and this may be causing issues for you when importing.

Could you please provide a copy of the Affinity document used to create this SVG file?

Many thanks in advance!

Link to comment
Share on other sites

Well your SVG file contains just an embedded base64 encoded PNG raster-image (sized 480x161px), so no vectors at all!

<?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="490px" height="171px" 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 transform="matrix(1,0,0,1,-234,-195)">
        <g transform="matrix(1,-0,-0,1,234,195)">
            <use xlink:href="#_Image1" x="9.104" y="0" width="479.419px" height="160.897px" transform="matrix(0.99879,0,0,0.99936,0,0)"/>
        </g>
    </g>
    <defs>
        <image id="_Image1" width="480px" height="161px" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAChCAYAAAAfp2zoAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nOydd3gU1frHv7MlhRQCBAgxdBIQlCoIiLQrIk1AKQJKEwTBhsJV+OEFBQtF0XuRJqIIShUBkSIgLUoLwdAhIQkJ6W2zye7Olpnz++PssJuwSWY2mxDgfJ5nnsDulDOzM+c7bznvUYPBYDAYDM/A2ReVfVED0ERFRYUkJiaKN2/e1ADwti9eTv92/swLgNa+aJz+qu2LtG/O6a/zsRkMBoPBeKiQBFENQDNlypRqZrN5CQBfo9H4FSHEbLPZrvM8vy8/
...
4AD6Rc1xiY8mQMyfp7GxLKANEhwoAIJDoT2Mf/dh4LkBIxHZTwSHMi3pQOpWhl04dmTxt8B/AhknvmmVkcAAAAASUVORK5CYII="/>
    </defs>
</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

@Dan C Thank you, I looked at that forum thread and that's where I unchecked Set viewBox option but that did not make a difference. I've attached the file (cleaned it up), it's only text now and I can't seem to export that as an SVG that Figma can use.

@v_kyr Thank you, I was not aware of that. Why would AD export and SVG embedding a PNG? That defies the whole purpose of creating an SVG...I'll fiddle around with settings, thought exporting an SVG would be a bit easier than this...

 

scorpiotek-2021.afdesign.zip

Edited by csaborio
Cleaned up file
Link to comment
Share on other sites

9 hours ago, csaborio said:

Why would AD export and SVG embedding a PNG? That defies the whole purpose of creating an SVG..

FWIW, the SVG format supports bitmap (raster) images as well as vector objects, so it is possible for an SVG file to have nothing in it besides one or more raster images.

All 3 1.10.8, & all 3 V2.4.2 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

11 hours ago, csaborio said:

...

@v_kyr Thank you, I was not aware of that. Why would AD export and SVG embedding a PNG? That defies the whole purpose of creating an SVG...I'll fiddle around with settings, thought exporting an SVG would be a bit easier than this...

Well, as PixelPest said, convert the font shapes to curves. Further don't apply those color overlay and shadow FX styles, these will yield finally to rasterization on export, aka bitmap/raster portions output into the generated SVG. - Instead color the Oakle text in the usual manner, make white and gray artistic text ones, put the gray one below the white one and reposition it slightly in a way that it looks like a shadow you want. Export to SVG with text as curves.

The SVG format is of course also capable of embedding raster/bitmap images into SVG code (via base64 encoding of bitmap images), though it's main purpose is creating/working with vectors for Web based presentations. - In your case it's Affinity which generated an embedded bitmap due to the FX style usage and SVG export options used.

☛ 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

Hey there @Wosven @v_kyr @R C-R @PixelPest & @Dan C:

First off, I just want say how pleasantly overwhelmed I feel with the response from this forum. I was ready to be buried under a barrage of "get lost n00b" answers but you have proven me wrong.  Thanks all for your patience, as you can tell, I am indeed an SVG noob but man I have learned a lot from this.

I have followed the invaluable advice presented here and the bloody logo now shows fine in Figma. What you wrote made sense in terms of the graphic effects, and the workarounds you provided worked like a charm.

Thanks again, I am most grateful :-) 

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.