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
I was loading a 16bit integer grayscale image, and I got very confusing results, so I debugged for a good few hours and found that the byte array is correct, but it decodes it as Least Significant Byte first, when it should be Most Significant Byte first.
Of course I can decode from the bytes for myself correctly, but I hope this can get fixed, so others don't bump into the same issue. Or at least they find this issue, and can spend less time wondering what's the problem :)
Thanks
The text was updated successfully, but these errors were encountered:
Hi!
I was loading a 16bit integer grayscale image, and I got very confusing results, so I debugged for a good few hours and found that the byte array is correct, but it decodes it as Least Significant Byte first, when it should be Most Significant Byte first.
Of course I can decode from the bytes for myself correctly, but I hope this can get fixed, so others don't bump into the same issue. Or at least they find this issue, and can spend less time wondering what's the problem :)
Thanks
The text was updated successfully, but these errors were encountered: