Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.13.2
-
None
-
6124b900d9507687c21e43e68f495bbee9d8d45b (qt/qtimageformats/5.15)
Description
QImage fails to load large tiff files, over 4GB.
The system libtiff (4.0.9 from Ubuntu 18.04) opens the same file successfully:
TIFF* tif = TIFFOpen(fn, "r"); if (tif) { uint32 w, h; TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &w); TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &h); m_fullImage = QImage(w, h, QImage::Format_RGBA8888); TIFFReadRGBAImage(tif, w, h, (uint32 *)m_fullImage.bits(), 0); TIFFClose(tif); }
Attachments
Issue Links
- is duplicated by
-
QTBUG-81813 BigTIFF fails to read
- Closed