Add new comment

int LibRaw::COLOR(int row, int col)

Hi Alex,
I'm the rawpy developer and just had a look at this. I'm using LibRaw::COLOR(row, col) to construct the color pattern matrix, which works fine for non-x-trans images. But for x-trans any value after the first row returns 0. so ::COLOR(1, 0) is 0, as well as ::COLOR(1,1) is 0. I'm using libraw 0.18.2 currently and noticed some x-trans related changes in newer versions: But they seem to be related to security only.
My test image is:
Can you check whether the COLOR method works correctly here? I think there may be a problem.