Add new comment

You may use fcol() instead of

You may use fcol() instead of FC() in COLOR() definition:

    int COLOR(int row, int col) { return libraw_internal_data.internal_output_params.fuji_width? FCF(row,col):fcol(row,col);}

This is not so efficient because fcol() is not inlined, but if you do not use COLOR() for all pixels of image, it will work.

-- Alex Tutubalin @LibRaw LLC