The task is to make a simple c-program that reads an ORF file, store header information and RAW pixel values to local variables and create a TIFF image (both RAW and debayered).
The program should use basic functions in c to read and store the ORF image data but may use external programs (called from the c-program) to make the TIFF image.
Included is an ORF image file for testing.