You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
Some of the information on the "Textures" page of the Learn OpenTK page may have fallen out of date, as unless my IDE (Visual Studio) is just being the usual bag of uselessness that it often is, one of the ImageSharp functions has changed.
It appears you can no longer create a byte array simply by using image.GetPixelSpan().ToArray().
Hey, I'm also learning now using the documentation and noticed this.
I've checked the current API of ImageSharp and updated the code in my project, so until they update it, you can use it:
Hi all,
Some of the information on the "Textures" page of the Learn OpenTK page may have fallen out of date, as unless my IDE (Visual Studio) is just being the usual bag of uselessness that it often is, one of the ImageSharp functions has changed.
It appears you can no longer create a byte array simply by using
image.GetPixelSpan().ToArray()
.Possibly related to: SixLabors/ImageSharp#1164.
The text was updated successfully, but these errors were encountered: