Open
Description
I tried running trayhost with an arbitrary png I found online. It panicked because it decoded to image.Palletted
rather than 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.
Activity