I have a problem with my code:
cout << "image root";
fflush(stdin);
cin.getline(dir_imd,2048);
TIFF* tif = TIFFOpen(dir_imd, "r");
It's quite simple, but when I try to load a image larger than 50 MB the code gives me a message saying the image cannot be open. I'm using the libtiff library.
Any idea about what is the problem?