Working with 16-bit images


I need to load, edit and save a 16-bit image. By 16-bit image I mean 16 bits per channel.
I thought Surface16u would do that, but it seems that it still has 8-bit values going from 0 to 255, when I get them using Surface16u::Iter::pixel()

Am I doing something wrong?


This should be possible. Can you post some of your code?


Sorry, false alarm. I had a typo and didn’t notice. It’s working