Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aykevl
Copy link
Owner

@aykevl aykevl commented May 25, 2024

This PR needs tinygo-org/drivers#683 to be merged first.

aykevl added 2 commits May 25, 2024 14:55
I wanted to fix the TODO (whether the decoded image was actually valid)
but found that it wasn't:

  - The size wasn't correct. The TinyGo logo was actually 304x255 in
    size, not 299x255 (it looks like it was created with a tool that
    assumes every row starts at a byte aligned line, which image.Mono
    doesn't).
  - There seems to be a problem when the image is decoded as a
    pixel.Monochrome, but I haven't yet figured out why.
This test needs tinygo-org/drivers#683 to pass,
but I think it's a useful test regardless.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants