Closed deadprogram closed 3 weeks ago
Thanks, merged.
In a later PR we might change the interface as proposed, but merge this now to keep things simple.
I undo this with the revert because it makes the test fails even thought the build succeeded before I merged it :thinking:
This PR adds a new function
NewImageFromBytes()
to create apixel.Image
from an existing slice of bytes.It is already being used as part of some refactoring that @conejoninja and I are doing on the badger2040 repo.
Thanks to @conejoninja for helping me debug these changes!