SUMMARY When openeng certain (most, but not all) GeoTIFF files, gwenview presents this message: Loading ‘000x004-hillshade.tif’ failed Loading meta information failed. On the console I see this: QImageReader::read() using format hint "tif" failed: "Unknown error" QImageReader::read() without format hint failed: "Unsupported image format" QImageReader::read() using format hint "tif" failed: "Unknown error" QImageReader::read() without format hint failed: "Unsupported image format" QImageReader::read() using format hint "tif" failed: "Unknown error" QImageReader::read() without format hint failed: "Unsupported image format" I used ldd and strace to guess that libtiff is being used, but libtiff does definitely support GeoTIFF, as it is used by gdal, whi can read and write such files (and gdal's author, Even Rouault, also commits to libtiff (yes, it's all circunstancial, but I think it makes sense). I would provide a example file, but it weights 9MiB+, and I'm not sure I should attach it or not. Let me know if it's OK. Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.54.0 Qt Version: 5.11.3
9 MB is above the attachment size limit anyway, but feel free to post a link to a location where it can be found.
Try here: http://dionecanali.hd.free.fr/~mdione/000x004-hillshade.tif
Created attachment 120856 [details] Even GIMP has trouble with it Thanks very much! I notice that even GIMP has trouble with that image. It opens the file, but displays the content as a big blank gray rectangle (see attachment). It seems like there may be something malformed with these files in question. I would reccommand filing a bug with the authors of the software used to create it. Thanks!
...Unless, it's supposed to be a big gray rectangle. Can you share a screenshot of what it's supposed to look like.
(In reply to Nate Graham from comment #4) > ...Unless, it's supposed to be a big gray rectangle. Can you share a > screenshot of what it's supposed to look like. The file is fine, it's a proper GeoTIFF (altho a very boring one, I should have used a better example). I added three attachments: * gwenview failing to open the file. * qgis with the whole file shown (yes, a grey square). * qgis showing the file at 1:1 scale.
Created attachment 120872 [details] gwenview error
Created attachment 120873 [details] qgis full
Created attachment 120874 [details] qgis 1:1
Thanks!
I just installed phototonic, which seems to also be qt based, it it can't read those files the same way. Maybe we should push this below the tiff handling stack? Also, bump!
I just tried on a big folder full of GeoTiffs and it worked... except that it was OOM'ed because it ate the whole memory :) But that's something for another ticket. In my opinion you can close this one.
Cool, thanks!