Hi, I process scanned images with ScanTailor, which outputs TIFF files with LZW compression (B&W, Colour). digiKam shows only the thumbnail and fails on preview. On CLI, it complains about missing support for non-stripped images: digikam(8658)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot create thumbnail for "/srv/Photos/Testing/Bugs/ScanTailor-LZW.tif" digikam(8658)/digikam (core) Digikam::ThumbnailCreator::load: Thumbnail is null for "/srv/Photos/Testing/Bugs/ScanTailor-LZW.tif" digikam(8658)/digikam (core) Digikam::ImageInfo::fromLocationAlbumAndName: No itemShortInfo could be retrieved from the database for image "ScanTailor-LZW.tif" digikam(8658)/digikam (core) Digikam::TIFFLoader::load: TIFF loader: Cannot handle non-stripped images. Loading file "/srv/Photos/Testing/Bugs/ScanTailor-LZW.tif" Reproducible: Always There is a similar bug (RESOLVED/FIXED) a few years ago: https://bugs.kde.org/show_bug.cgi?id=241418. All other viewers I use can handle it correctly (ImageMagick, Geeqie, Eye of Mate, PhotoPrint, XnView, darktable, GIMP). ShowFoto also displays only a thumbnail and no image.
Created attachment 95804 [details] Example of trouble-making TIFF
Git commit ab424dbd41840a6631897ee092a8c53707bbe4f3 by Maik Qualmann. Committed on 29/11/2015 at 19:50. Pushed by mqualmann into branch 'master'. fix TIFFLoader for files with TIFFTAG_ROWSPERSTRIP == uint-1 FIXED-IN: 5.0.0 M +7 -3 libs/dimg/loaders/tiffloader.cpp http://commits.kde.org/digikam/ab424dbd41840a6631897ee092a8c53707bbe4f3