Discuss Scratch
- Discussion Forums
- » Suggestions
- » Support Alpha for Imported Vector images
- Sonickyle
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
I was bored, so I tried importing a Vector into Scratch.
This happened:
It's meant to look like this:
(sorry for the image being so big)
The suggestion: Support Alpha Transparancy for Vector and/or Bitmap.
This happened:
It's meant to look like this:
(sorry for the image being so big)
The suggestion: Support Alpha Transparancy for Vector and/or Bitmap.
Last edited by Sonickyle (April 13, 2013 22:26:15)
No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.
I only check the forums every now and then, but other than that consider me retired.
- johnm
- Scratcher
100+ posts
Support Alpha for Imported Vector images
Thanks for reporting this. If you attach the SVG file or a link to it, I'll investigate.
Unfortunately, SVG is a huge and very complicated standard. I doubt that any piece of software actually supports every feature of SVG, and Scratch doesn't even try. The main goals of the Scratch SVG import code are simply to (a) not crash and (b) do the best it can with the parts of SVG it understands. It actually seems to be doing pretty well, although not perfect, in this case. However, we will keep adding to the subset of of SVG that Scratch can handle so we may be able add support this particular feature. But it would be helpful to see the original SVG file to know what that feature is…
Incidentally, if you just want to get an SVG image into Scratch and you don't plan to edit it as vectors, you could convert it to a PNG file and import that. Programs like Inkscape and Adobe Illustrator can export vector images as PNG files, and I think “Preview” on the Mac can also do that. Another way to do it would be to display the image in a web browser, then grab a picture of the screen as a bitmap, and import that.
Unfortunately, SVG is a huge and very complicated standard. I doubt that any piece of software actually supports every feature of SVG, and Scratch doesn't even try. The main goals of the Scratch SVG import code are simply to (a) not crash and (b) do the best it can with the parts of SVG it understands. It actually seems to be doing pretty well, although not perfect, in this case. However, we will keep adding to the subset of of SVG that Scratch can handle so we may be able add support this particular feature. But it would be helpful to see the original SVG file to know what that feature is…
Incidentally, if you just want to get an SVG image into Scratch and you don't plan to edit it as vectors, you could convert it to a PNG file and import that. Programs like Inkscape and Adobe Illustrator can export vector images as PNG files, and I think “Preview” on the Mac can also do that. Another way to do it would be to display the image in a web browser, then grab a picture of the screen as a bitmap, and import that.
- Sonickyle
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
Thanks for reporting this. If you attach the SVG file or a link to it, I'll investigate.
Unfortunately, SVG is a huge and very complicated standard. I doubt that any piece of software actually supports every feature of SVG, and Scratch doesn't even try. The main goals of the Scratch SVG import code are simply to (a) not crash and (b) do the best it can with the parts of SVG it understands. It actually seems to be doing pretty well, although not perfect, in this case. However, we will keep adding to the subset of of SVG that Scratch can handle so we may be able add support this particular feature. But it would be helpful to see the original SVG file to know what that feature is…
Incidentally, if you just want to get an SVG image into Scratch and you don't plan to edit it as vectors, you could convert it to a PNG file and import that. Programs like Inkscape and Adobe Illustrator can export vector images as PNG files, and I think “Preview” on the Mac can also do that. Another way to do it would be to display the image in a web browser, then grab a picture of the screen as a bitmap, and import that.
Sorry for the late reply!
Here is the .svg file: Link.
No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.
I only check the forums every now and then, but other than that consider me retired.
- __init__
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
+1
Any workarounds?
Any workarounds?
thisandagain pls explain
- ShamelessSnores
- Scratcher
100+ posts
Support Alpha for Imported Vector images
Whoa this is a huge necropost. Please check the dates before posting. Thanks! +1
Any workarounds?
The kumquat came, but it did not snore. Kumquats do not snore! So, it wasn't able to eat my signature.
- VoltageGames
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
Happens to me, too.
Support.
Support.
- Harakou
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
If someone still supports the idea, I see no reason to close it or avoid bumping it up. Not all necros are bad, especially in Suggestions.Whoa this is a huge necropost. Please check the dates before posting. Thanks! +1
Any workarounds?
- Paddle2See
- Scratch Team
1000+ posts
Support Alpha for Imported Vector images
Since it appears that the suggestion has not been implemented, the suggestion is still valid. So I wouldn't say it is a necropost - more like a bump.Whoa this is a huge necropost. Please check the dates before posting. Thanks! +1
Any workarounds?
Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)
;
- __init__
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
It's not a necropost if it contributes to the topic.Whoa this is a huge necropost. Please check the dates before posting. Thanks! +1
Any workarounds?
thisandagain pls explain
- __init__
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
Anyone know how to workaround this?
thisandagain pls explain
- Dreamo
- Scratcher
500+ posts
Support Alpha for Imported Vector images
As far as less opaque objects, I know how to import them to Scratch from Inkscape. Use the slider circled in blue to adjust the opacity of an object (or gradient), and then it will import into Scratch perfectly. If you use the slider circled in red, then it will not. Anyone know how to workaround this?
If the gradient directions or other things get messed up, either I don't know a workaround for it, or Scratch simply does not support it. I hope I helped init and Sonickyle!
- __init__
- Scratcher
1000+ posts
Support Alpha for Imported Vector images
wow, I had no idea the answer was so simple! Thanks so much!As far as less opaque objects, I know how to import them to Scratch from Inkscape. Use the slider circled in blue to adjust the opacity of an object (or gradient), and then it will import into Scratch perfectly. If you use the slider circled in red, then it will not. Anyone know how to workaround this?
If the gradient directions or other things get messed up, either I don't know a workaround for it, or Scratch simply does not support it. I hope I helped init and Sonickyle!
thisandagain pls explain
- Discussion Forums
- » Suggestions
- » Support Alpha for Imported Vector images