Open Nv7-GitHub opened 3 years ago
hmm, good question. In theory there should be a way to do it back. Ill add that as a feature request. The implementation of the go->image can be found here
in theory you just have to reverse it
Good First Issue
I have marked this as a good first issue
as this would be a relatively simple contribution for beginners if anyone wants to do it before I do.
Just simply add a function that takes a *Image
and returns a image.Image
, generating the data structure in a similar fashion as above.
You can make a Go image into a Raylib image, but is there any way to go back?