Seems there's a bug in Image.CopyPixelsFromUnmanagedBuffer(). It's copying width * height bytes. Not accounting for the depth. So for 565 it was off by a factor of 2, and for 888 off by a factor of 3. Not sure about the other formats, those are the two I care about. Fixed locally.
- Sort Posts
- 2 replies
- Last post
(I really hate how this site works, this is the second time I have to type this all in):
In Image.cs I make this modification:
It's accessed from code I got from another user on another thread: