h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing

Home Page:https://fly.io/docs/app-guides/run-a-global-image-service/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can we allow palette param in resize API?

vaibsharma opened this issue · comments

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

commented

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