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

Can there be option choose qty of colors? #5

Closed
upgernaut opened this issue Apr 18, 2023 · 2 comments
Closed

Can there be option choose qty of colors? #5

upgernaut opened this issue Apr 18, 2023 · 2 comments
Labels
feature-request New feature or request

Comments

@upgernaut
Copy link

Hi, I'd like to make it work images Canva. So now in order to do it I use - https://www.pngtosvg.com/. If you want to be able to change colors in Canva you put the number of colors.

Is it possible to do it here?

I mean not just general limitation 4096 with -l but manual limitation.

@xyproto xyproto added the feature-request New feature or request label Apr 18, 2023
@xyproto
Copy link
Owner

xyproto commented Apr 18, 2023

I added an -n flag for the png2svg utility that can be used to reduce the number of colors, using github.com/xyproto/palgen. It does not work great for all images and all values of N, but it's a start.

@xyproto xyproto closed this as completed Apr 18, 2023
@xyproto
Copy link
Owner

xyproto commented Apr 19, 2023

Please test

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

No branches or pull requests

2 participants