Add new comment

coordinate is (y * width) + x

coordinate is (y * width) + x (unless you use half_size option).

Values in imgdata.image array are 16 bit/linear space, IrfanView values are, most likely, 8bit/gamma corrected.

-- Alex Tutubalin @LibRaw LLC