Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Importing SVG images from Inkscape...
- comp500
-
100+ posts
Importing SVG images from Inkscape...
When I try to import SVG images from Inkscape (saved as plain SVG and is displayed fine in Google Chrome) the background square which has a linear gradient gets imported but the triangle (a path) is not displayed, even if they are on seperate/the same layers…
I might upload the SVG I'm trying to import if it doesn't get fixed…
More info: It says the square is a group, but when I ungroup it nothing happened…Last edited by comp500 (March 17, 2013 15:56:10)
- OrcaCat
-
1000+ posts
Importing SVG images from Inkscape...
I got a similar bug when I imported an orca SVG from Wikipedia.
- cheddargirl
-
1000+ posts
Importing SVG images from Inkscape...
Do you have the SVG file uploaded somewhere on a file site and on the beta site so the ST can take a look? We know that some SVGs go wonky when they're imported into 2.0. When I try to import SVG images from Inkscape (saved as plain SVG and is displayed fine in Google Chrome) the background square which has a linear gradient gets imported but the triangle (a path) is not displayed, even if they are on seperate/the same layers…I might upload the SVG I'm trying to import if it doesn't get fixed…More info: It says the square is a group, but when I ungroup it nothing happened…
- scimonster
-
1000+ posts
Importing SVG images from Inkscape...
I got the same thing with a triangle path, when trying to import to my icon submission project. I eventually had to export as a PNG in Inkscape, and then import that to 2.0.
I also used a 3D shape, but i kinda expected that wouldn't work.
I also used a 3D shape, but i kinda expected that wouldn't work.
- comp500
-
100+ posts
Importing SVG images from Inkscape...
Sure, I have it on Dropbox: https://dl.dropbox.com/u/36854625/downarrow.plain.svgDo you have the SVG file uploaded somewhere on a file site and on the beta site so the ST can take a look? We know that some SVGs go wonky when they're imported into 2.0. When I try to import SVG images from Inkscape (saved as plain SVG and is displayed fine in Google Chrome) the background square which has a linear gradient gets imported but the triangle (a path) is not displayed, even if they are on seperate/the same layers…I might upload the SVG I'm trying to import if it doesn't get fixed…More info: It says the square is a group, but when I ungroup it nothing happened…
- comp500
-
100+ posts
Importing SVG images from Inkscape...
Yeah… ST please tell us if you are going to/can't fix it Still not resolved…
- cheddargirl
-
1000+ posts
Importing SVG images from Inkscape...
Hey, take it easy, we have other stuff on our plate that we need to address aside from the SVG issue here!Yeah… ST please tell us if you are going to/can't fix it Still not resolved…
- cheddargirl
-
1000+ posts
Importing SVG images from Inkscape...
Bump. Seems like the editor hates shapes for some reason.
Are there any other SVG images that have trouble being imported? It would be good to have a collection.
Are there any other SVG images that have trouble being imported? It would be good to have a collection.
- comp500
-
100+ posts
Importing SVG images from Inkscape...
Well I have only tried to import one, see if someone else is having trouble… Bump. Seems like the editor hates shapes for some reason.
Are there any other SVG images that have trouble being imported? It would be good to have a collection.
- comp500
-
100+ posts
Importing SVG images from Inkscape...
Nvm! I have another one:Well I have only tried to import one, see if someone else is having trouble… Bump. Seems like the editor hates shapes for some reason.
Are there any other SVG images that have trouble being imported? It would be good to have a collection.
Inkscape SVG: https://dl.dropboxusercontent.com/u/36854625/inkscape/logo.svg
Plain SVG: https://dl.dropboxusercontent.com/u/36854625/inkscape/logoplain.svg
The inkscape SVG renders fine in Google Chrome, and so does the plain one. Both are blank in Scratch.
One reason why it might not work: for the text, it is in the Ubuntu font, which scratch does not have…. but the shapes still don't import…
Last edited by comp500 (April 14, 2013 06:45:34)
- IanSan5653
-
40 posts
Importing SVG images from Inkscape...
I'm having the same problems; these don't show up at all: https://drive.google.com/folderview?id=0B3k3BjZD2YfiYV9JUVUwU29QZlE&usp=sharing
- cheddargirl
-
1000+ posts
Importing SVG images from Inkscape...
Alrighty, so I talked with some ST members about this, it's a bit of bigger problem than one might think.
Long story short: It's not really a bug, per se, it's just that the SVG standards often evolve so fast that sometimes using them in browsers or across different graphics software causes problems; and Scratch is no exception. Scratch only covers some basic SVG commands - chances are that, if the SVG was made in a editor using special commands that Scratch does not have or operate differently than how Scratch works, then it might not appear when uploaded at all.
Long story short: It's not really a bug, per se, it's just that the SVG standards often evolve so fast that sometimes using them in browsers or across different graphics software causes problems; and Scratch is no exception. Scratch only covers some basic SVG commands - chances are that, if the SVG was made in a editor using special commands that Scratch does not have or operate differently than how Scratch works, then it might not appear when uploaded at all.
- easymath123
-
100+ posts
Importing SVG images from Inkscape...
This Image Worked:
Image
Note:Right-Click on the link and select either ‘Copy link address’ or ‘Copy link location’ and paste it into the URL bar.
Image
Note:Right-Click on the link and select either ‘Copy link address’ or ‘Copy link location’ and paste it into the URL bar.
Last edited by easymath123 (July 14, 2013 09:25:55)
- Codepicture
-
2 posts
Importing SVG images from Inkscape...
Hello Team,
I have tried all ways to get an SVG created in Illustrator or Inkscape to work properly in Scratch. I even tried initially creating an SVG file in Scratch and then modifying it in the external editor before importing it back into SCRATCH. I created an example project with some sprites I created to demonstrate the problem. Everything looks okay until you make even one tiny move or edit to he sprite. You then get a black mask outline. Try it and see. What I find odd, is that your editor initially reads everything in and renders it perfectly. It's only when you try to move a change the graphic that the black outline appears in the stage.
http://scratch.mit.edu/projects/embed/12293415
I have looked at the XML source behind the graphics and can see the SCRATCH file is indeed much more primitive than the Illustrator or INKSCAPE version. I can well believe that your implementation does not cover the more exhaustive implementations of the SVG standard. The only success I have with SVG is to create the file and edit it solely in SCRATCH. This does seem to work. Editing at present in an alternative editor is not reliable.
Could I ask, what editor did the team used when creating the sample SVG graphics that enhance those from Scratch 1.4 ?
Apart from that, it's a fantastic program and not to be underestimated as a world changing project. Your work is sure to inspire the careers of many children today. Many, many thanks for that.
Best wishes,
Mark
I have tried all ways to get an SVG created in Illustrator or Inkscape to work properly in Scratch. I even tried initially creating an SVG file in Scratch and then modifying it in the external editor before importing it back into SCRATCH. I created an example project with some sprites I created to demonstrate the problem. Everything looks okay until you make even one tiny move or edit to he sprite. You then get a black mask outline. Try it and see. What I find odd, is that your editor initially reads everything in and renders it perfectly. It's only when you try to move a change the graphic that the black outline appears in the stage.
http://scratch.mit.edu/projects/embed/12293415
I have looked at the XML source behind the graphics and can see the SCRATCH file is indeed much more primitive than the Illustrator or INKSCAPE version. I can well believe that your implementation does not cover the more exhaustive implementations of the SVG standard. The only success I have with SVG is to create the file and edit it solely in SCRATCH. This does seem to work. Editing at present in an alternative editor is not reliable.
Could I ask, what editor did the team used when creating the sample SVG graphics that enhance those from Scratch 1.4 ?
Apart from that, it's a fantastic program and not to be underestimated as a world changing project. Your work is sure to inspire the careers of many children today. Many, many thanks for that.
Best wishes,
Mark
- OrcaCat
-
1000+ posts
Importing SVG images from Inkscape...
You know, if the Scratch team made an HTML5 editor, it could render the SVGs easily.
Last edited by OrcaCat (Oct. 30, 2013 01:58:08)
- darkness3560
-
100+ posts
Importing SVG images from Inkscape...
I tried the original down arrow button and the fancy and plain “channel 24” logos. They all uploaded properly (though the text in the “channel 24” logos didn't render because Scratch doesn't render external text).
My browser / operating system: Ubuntu Linux 13.04, Chrome 30.0.1599.114, Flash 11.2 (release 202, NOT Pepper Flash)
My browser / operating system: Ubuntu Linux 13.04, Chrome 30.0.1599.114, Flash 11.2 (release 202, NOT Pepper Flash)
- Discussion Forums
- » Bugs and Glitches
-
» Importing SVG images from Inkscape...