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 we allow palette param in resize API? #378

Open
vaibsharma opened this issue Jan 19, 2022 · 2 comments
Open

Can we allow palette param in resize API? #378

vaibsharma opened this issue Jan 19, 2022 · 2 comments

Comments

@vaibsharma
Copy link
Contributor

vaibsharma commented Jan 19, 2022

I saw that in bimg we have palette expose for pngsave_buffer but from imaginary we are not passing that param from API. Is there plan to fix it?
https://github.com/h2non/imaginary/blob/master/options.go#L11

But in bimg we do have a param to allow that palette param
https://github.com/h2non/bimg/blob/master/options.go#L228

@h2non
Copy link
Owner

h2non commented Jan 21, 2022

Happy to merge a PR with the feature, it is easy to implement 👍

@vaibsharma
Copy link
Contributor Author

@h2non Done :)

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

No branches or pull requests

2 participants