Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG vs BMP Costume Confusion #3373

Open
maryfries opened this issue Jul 10, 2024 · 7 comments
Open

SVG vs BMP Costume Confusion #3373

maryfries opened this issue Jul 10, 2024 · 7 comments

Comments

@maryfries
Copy link

Hi! Still working with teachers in Cleveland this week...

At the moment, we have them working through BJC Sparks Unit 2 Lab 2, and they are adding and manipulating costumes. Teachers figured out how to flip images horizontally, but then were quite perplexed by not being able to flip some of the images as it's not clear to newer folks what an SVG image is or why things might be different for SVGs.

Could we please have a feature to support this early-user challenge? Perhaps if someone tries to edit an SVG, there could be a popup that explains that SVGs can't be edited in Snap and offers to convert it to a BMP so they can edit it.

Thanks!

@ego-lay-atman-bay
Copy link
Contributor

SVG costumes should be automatically converted to bitmap when getting pixels, right?

@maryfries
Copy link
Author

Wow! I learn so much about how different people try to use Snap doing these trainings! I just learned (from a different teacher playing around) that you can also right-click on a sprite on the stage (not just a costume in the costumes area) to edit the costume... :)
...and that nothing happens at all if it's an SVG, which is confusing because there is no indication as to what's happening... :(

So, I do think new users need a little support here with understanding how to work with SVGs. Thanks!

@maryfries
Copy link
Author

Hi ego-lay-atman-bay, I'm not sure what you're asking, so if that's a question for me, I'll need a little more clarification. ;)

These folks just imported built-in costumes and are finding that some are editable and some aren't, and they are confused by that.

@ego-lay-atman-bay
Copy link
Contributor

Hi ego-lay-atman-bay, I'm not sure what you're asking, so if that's a question for me, I'll need a little more clarification. ;)

Sorry, I thought that you were manipulating the costumes through code, not the ui.

@maryfries
Copy link
Author

Yes, though the UI. And the other Snap veteran/curriculum developer/PD provider here with me also just got confused by this same thing, so it really is a sticking point for folks. ;)

@brianharvey
Copy link
Collaborator

I think this is a perfect-is-the-enemy-of-the-good issue for us. We know we need a completely rewritten and more powerful vector costume editor, and so people think "it's not worth small improvements to something we're going to replace." But yes, I agree, we should offer to convert to bitmap.

@jmoenig
Copy link
Owner

jmoenig commented Jul 10, 2024

there is a hidden setting for that:

rasterize

But please don't tell your teachers to use it.

Listen: SVGs are - of course! - not editable as bitmaps, how could they? This is something everybody can understand, and it's very explainable. Instead they need to be edited by a special program, a vector editor. If you draw a costume using Snap's own vector editor it contains a little internal marker that tells us that you can edit it again later, because it only has elements that our editor supports. Other SVGs you take from other sites don't have that marker and should therefore open not in our vector editor, but instead in a little window that only lets you move their rotation center. Some of the "built-in" svgs have been edited by who-knows-who using who-knows-what and appear to have the same internal marker, so Snap tries to open them in our vector editor but isn't able to actually display them. That's a bug, and I grant y'all that it's confusing.

But please don't let them fiddle with the "rasterize" setting. Instead you can let them convert SVGs to bitmaps themselves. It's really, really easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants