The program tif2cbf converts TIFF images to CBF format. The program uses the TIFF library and the CBF library. It reads 8-bit, 16-bit, and 32-bit TIFF files and converts them to 32-bit CBF files that can be processed by XDS. The program does not write a sensible CBF-header. It is on the TODO list to provide the program with an XDS.INP style input file to transfer the available parameters to the CBF files.
The program is available as source code (with a project file for Netbeans) and as 64-bit statically linked binary in ELF format (i.e. for Linux).