Skip to content

Image is picky about specific formats #14

Open
@captncraig

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

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions