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

[Feature request/suggestion] SVG instead of PNG? #22

Open
GwynethLlewelyn opened this issue May 23, 2023 · 1 comment
Open

[Feature request/suggestion] SVG instead of PNG? #22

GwynethLlewelyn opened this issue May 23, 2023 · 1 comment

Comments

@GwynethLlewelyn
Copy link

Thanks for doing such a wonderful tool (and a fun one too) :-) And special thanks for the incredibly permissive license — that's truly very generous of you!

I wonder, however, if there is a way to do the same concept using SVG — almost everything is line-drawn anyway, and SVG is able to provide so much more quality overall. I'd say that for mobile phones, the PNGs are 'good enough' (because, well, everything is smaller on a smartphone screen). But once you start manipulating the image to tweak it to one's own purposes, it's clear that these images were never meant to be Retina-ready, nor displayed in a big size.

I'm not complaining! The possibilities are already endless, and the tool works admirably well with whatever content is already in it, and it's easy enough to modify and add new features. I'm ok with all of that :) It's just that I have zero artistic skills myself, and have to rely on the goodwill and generosity of artists willing to share their work with the community, to tweak them further and re-use them as cute graphic elements on whatever application I'm working with (or even when doing presentations...).

@quasilyte
Copy link
Owner

quasilyte commented May 23, 2023

Hi, thank you for your kind words.

I used Autodesk Sketchbook software to draw the assets. Unfortunately, it doesn't have vector graphics support, so all the "sources" are bitmap images.

Converting a result PNG image to SVG could be possible, but I'm not sure which library to use to do that.
Maybe this library could do the trick: https://github.com/iwsfg/node-potrace

The end results may look different since these assets were never supposed to be vector art, but there should be no harm in allowing a second export option.

I have a lot of stuff on my agenda right now, so I don't know whether I'll be able to try adding this feature in the near future. I do like the idea though, so it's mostly a matter of time. Or feel free to send a PR if you want to implement this conversion, I'll gladly merge such a feature.

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

2 participants