diff --git a/tests/extcmake_fetchcontent_tinytiff_test/extcmake_fetchcontent_tinytiff_test.cpp b/tests/extcmake_fetchcontent_tinytiff_test/extcmake_fetchcontent_tinytiff_test.cpp index 86ed345..a76acc7 100644 --- a/tests/extcmake_fetchcontent_tinytiff_test/extcmake_fetchcontent_tinytiff_test.cpp +++ b/tests/extcmake_fetchcontent_tinytiff_test/extcmake_fetchcontent_tinytiff_test.cpp @@ -4,7 +4,7 @@ using namespace std; int main() { - TinyTIFFWriterFile* tif=TinyTIFFWriter_open("extcmake_tinytiff_test.tif", 8, TinyTIFFWriter_UInt, TinyTIFFWriter_Greyscale); + TinyTIFFWriterFile* tif=TinyTIFFWriter_open("extcmake_tinytiff_test.tif", 8, TinyTIFFWriter_UInt, 1, 32, 32, TinyTIFFWriter_Greyscale); if (tif) { uint8_t* data=(uint8_t*)calloc(32*32,sizeof(uint8_t)); TinyTIFFWriter_writeImage(tif, data); diff --git a/tests/extcmake_tinytiff_test/extcmake_tinytiff_test.cpp b/tests/extcmake_tinytiff_test/extcmake_tinytiff_test.cpp index 86ed345..a76acc7 100644 --- a/tests/extcmake_tinytiff_test/extcmake_tinytiff_test.cpp +++ b/tests/extcmake_tinytiff_test/extcmake_tinytiff_test.cpp @@ -4,7 +4,7 @@ using namespace std; int main() { - TinyTIFFWriterFile* tif=TinyTIFFWriter_open("extcmake_tinytiff_test.tif", 8, TinyTIFFWriter_UInt, TinyTIFFWriter_Greyscale); + TinyTIFFWriterFile* tif=TinyTIFFWriter_open("extcmake_tinytiff_test.tif", 8, TinyTIFFWriter_UInt, 1, 32, 32, TinyTIFFWriter_Greyscale); if (tif) { uint8_t* data=(uint8_t*)calloc(32*32,sizeof(uint8_t)); TinyTIFFWriter_writeImage(tif, data);