We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried running trayhost with an arbitrary png I found online. It panicked because it decoded to image.Palletted rather than image.NRGBA.
image.Palletted
image.NRGBA
Perhaps the invert routine could be relaxed to work more generally.
Or maybe https://godoc.org/github.com/disintegration/imaging would be a good alternative. They have a simple invert function that works on any image.
The text was updated successfully, but these errors were encountered:
Relevant code is here.
Hmm. Yeah, it's definitely limited right now.
Generally, I prefer to pull in as few dependencies as possible. But that one looks quite reasonable.
Let me think about this for a bit...
Sorry, something went wrong.
No branches or pull requests
I tried running trayhost with an arbitrary png I found online. It panicked because it decoded to
image.Palletted
rather thanimage.NRGBA
.Perhaps the invert routine could be relaxed to work more generally.
Or maybe https://godoc.org/github.com/disintegration/imaging would be a good alternative. They have a simple invert function that works on any image.
The text was updated successfully, but these errors were encountered: