I have a Finepix Fuji S2980 camera. The trick with the Hidden Menu works with it so I'm able to take shots in raw format. This camera is 14-megapixel and it's raw resolution is 4320x3264.
I was playing around with converting it to 16-bit tiff format and want to share my code.
There are two files in attachment:
fujiraw2tiffb.c — converts raw to 16-bit tiff "as is" so you'll obtain raw bayer data and need to demosaic it by some algorithm.
fujiraw2tiffc.c — uses algorithm described in the paper "High-Quality Linear Interpolation for Demosaicing of Bayer-Patterned Color Images" Henrique S. Malvar, Li-Wei He, and Ross Cutler. But unfortunately the final image still needs corrections.
I understand that one should know the colour profile of the camera to do such a correction. Unfortunately I'm not able to play around with it now.
This code uses libtiff. On my machine it's 4.0.3-5 version. Also as I'm using Linux I didn't test it under Windows. But if someone will be interested I can try to compile this code under it and send a binaries.
The program takes a raw file as an input and creates *.tiff with the same file name.