Can I read the sBit ancillary chunk from a png file?

asked Jul 19 '16

Jonny gravatar image

I am trying to recover the correct pixel values from a png file that was stored with the sBit set to some value. I can read it in MATLAB, but I am trying to get the value out in opencv when I read the file. Any idea how this can be done?

Preview: (hide)