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

Color #3

Open
TCNOco opened this issue Oct 2, 2022 · 7 comments
Open

Color #3

TCNOco opened this issue Oct 2, 2022 · 7 comments

Comments

@TCNOco
Copy link
Contributor

TCNOco commented Oct 2, 2022

This may be out of scope for this project, may not be... Assuming I generate cartoons, is there a similar tool for creating SVG images with coloured shapes? I assume a lot of compressing colours and gradients down to solid shapes would need to be done, but even generating something "South Park"-inspired, for example.

It this tool currently able to do something like this?

@GeorgLegato
Copy link
Owner

I have a preview already implemented, but too bad quality... i post it in few mins on reddit

@TCNOco
Copy link
Contributor Author

TCNOco commented Oct 2, 2022

Yeah, I see potrace is B&W only, but I have seen a few tools online that convert (relatively well) images to color SVGs. Don't know of anything that can be locally run/called.

Take Adobe's image to SVG for example.

@GeorgLegato
Copy link
Owner

https://www.reddit.com/r/StableDiffusion/comments/xtu3e9/preview_colored_icons_as_txt2vectorgraphics/

Adobe struggles as well on the halftones in picture:
image

@GeorgLegato
Copy link
Owner

something like that i guess. check the results are too pickled and noise inside the svg (Kim Kardashain in southpark)

txt2png:
download

svg:
00001-3395043740

@VexedPanda
Copy link

Looking close at the vtracer demos on their site, it’s evident there too. It’s introducing patches of a third colour in between boundaries of two colours.

@GeorgLegato
Copy link
Owner

btw, vectormagic.com has exactly the solution as needed. they produce really perfect vectors on colored/antialiased input.
closed source ,-)

@some9000
Copy link

Also really looked into finding something that could do colored tracing here. No usable results. And yeah, Vector Magic is the best vectorizer by far. Around 2010 they had a desktop app. If you look really hard, you can probably find a usable version. Not sure about licensing, though.

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