Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Importing .SVG Files don't work properly
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
Importing “.svg” files do not work properly. I am trying to import an svg vector file but it does not display properly in the editor. The image displays itself properly in other viewers like Microsoft Edge.
Edit: I made a project for demonstration. On clicking “See inside” and the third sprite, Scratch instantly crashes. Once again, the file can be opened perfectly in other .svg viewers.
My browser / operating system: Windows 10, Edge Chromium Dev 90.0.4421.0, No Flash version detected
Edit: I made a project for demonstration. On clicking “See inside” and the third sprite, Scratch instantly crashes. Once again, the file can be opened perfectly in other .svg viewers.
My browser / operating system: Windows 10, Edge Chromium Dev 90.0.4421.0, No Flash version detected
Last edited by BarelySmooth (March 7, 2021 16:33:17)
- PraCoco
-
1000+ posts
Importing .SVG Files don't work properly
How about trying to convert it to a PNg or a JPG? That might help… Importing “.svg” files do not work properly. I am trying to import an svg vector file but it does not display properly in the editor. The image displays itself properly in other viewers like Microsoft Edge.
My browser / operating system: Windows NT 10.0, Chrome 88.0.4324.150, No Flash version detected
If you want a website, SVG –> JPG converter
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
How about trying to convert it to a PNg or a JPG? That might help… Importing “.svg” files do not work properly. I am trying to import an svg vector file but it does not display properly in the editor. The image displays itself properly in other viewers like Microsoft Edge.
My browser / operating system: Windows NT 10.0, Chrome 88.0.4324.150, No Flash version detected
If you want a website, SVG –> JPG converter (link removed)
That fixes the issue but I lose the ability to edit the image in the scratch editor. It also loses its quality (it becomes a little pixelated)
Last edited by BarelySmooth (March 20, 2021 15:32:13)
- Chiroyce
-
1000+ posts
Importing .SVG Files don't work properly
Which software was it created in?
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
Which software was it created in?
I tried it first in Libre Office Draw and it did not go well.
Then I tried a very simple one using Inkscape and it worked fine.
Again I tried a little more complex one with Inkscape and it did not work.
- Yafdance
-
100+ posts
Importing .SVG Files don't work properly
I use Vectornater and I also have this issue 

- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
I use Vectornater and I also have this issue
So the issue is with how scratch handles vector graphics from specific applications, right?
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
I still cannot import .svg (vector) files from specific applications.
- Chiroyce
-
1000+ posts
Importing .SVG Files don't work properly
I still cannot import .svg (vector) files from specific applications.
Yes, scratch SVG renderer doesn't support a few features in other programs.

- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
Oh That's sad.I still cannot import .svg (vector) files from specific applications.
Yes, scratch SVG renderer doesn't support a few features in other programs.

But is there a way to still use the .svg format? When I import a vector file, the image pops up on the tiny thumbnail but not in the editor or on the stage
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
Is there a workaround for this?
- Chiroyce
-
1000+ posts
Importing .SVG Files don't work properly
I don’t know Is there a workaround for this?

- RedMonster12
-
100+ posts
Importing .SVG Files don't work properly
i can view an image on stage in a scratch project, but if i go inside into the costume editor, there is no image, it's as if according to the editor it is non-existent
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
I made a project for demonstration. On clicking “See inside” and the third sprite , Scratch instantly crashes. Once again, the file can be opened perfectly in other .svg viewers.
Oops! Something went wrong
We are so sorry, but it looks like Scratch has crashed. This bug has been automatically reported to the Scratch Team. Please refresh your page to try again. Your error was logged with id:
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
Is there any other application that Scratch handles perfectly?
- BarelySmooth
-
1000+ posts
Importing .SVG Files don't work properly
'Costumes' menu and just move it a bit. Then, it will display correctly on the stage..Moving them does make the sprite visible but it loses rounded corners, transparency, etc. Usually, when an ‘SVG’ doesn't display correctly, I go into the
'Object -> Path' in Inkscape, which is another trick that works for me. If that does not work, you could also try exporting as an 'Optimized SVG'.Optimised SVG yields the same results (it loses rounded corners, transparency, etc.), For vector text, you could convert the text from even when I check the “Work around renderer bugs” in Inkscape's Export dialog box.
Last edited by BarelySmooth (March 4, 2021 07:00:04)
- hiPeeps124816
-
500+ posts
Importing .SVG Files don't work properly
the javascript console shows these messages once it crashes:


- hiPeeps124816
-
500+ posts
Importing .SVG Files don't work properly
The crash is something about the canvas width.
- Discussion Forums
- » Bugs and Glitches
-
» Importing .SVG Files don't work properly