// SPDX-License-Identifier: LGPL-3.0-or-other // Copyright (C) 2021 Contributors to the SLS Detector Package #ifndef MY_TIFF_IO_H #include "tiffIO.h" #endif #include using namespace std; // #undef cbf_failnez // #define cbf_failnez(x) // { // int err; // err = (x); // if (err) { // fprintf(stderr,"\nCBFlib fatal error %x \n",err); // exit(-1); // } // } void *WriteToTiff(float *imgData, const char *imgname, int nrow, int ncol) { int sampleperpixel = 1; // unsigned char * buff=NULL; // tsize_t linebytes; // cout << "--" <