#include stdioh#include stdlibh#include tiffioh#define ROWS 327#define COLS 486#define PIXEL_SIZE 5int mainint argc char argv TIFF tif; float data; uint32 width height; uint16 bits_per_sa
建议更改代码中的数据类型,使用C99标准库中的stdint.h类型,以避免使用已弃用的libtiff类型。具体来说,将uint32更改为uint32_t。
原文地址: https://www.cveoy.top/t/topic/fIJf 著作权归作者所有。请勿转载和采集!