SUMMARY STEPS TO REPRODUCE 1. Try to add a large image to the db 2. Try to show a large existing image (.nef or tiff 16 bits; 40Mpx for example) OBSERVED RESULT 1. No thumbnail built 2. No image showed Get "qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 256 megabytes" Tried to set QT_IMAGEIO_MAXALLOC, but without success (my coding limits?) EXPECTED RESULT Same behavior as before update SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2
I downloaded this 256MB tiff image and copied it into the demo database folder: https://web.corral.tacc.utexas.edu/ceersdata/press-releases/HighResolution/CEERS-NIRCAM-credit-220804.tif KPhotoAlbum (current git master) reported the error Alex6 mentioned and failed to both generate a thumbnail and load the image. Workaround: * exit kphotoalbum * override this environment variable (in this case doubling the Qt limit): export QT_IMAGEIO_MAXALLOC=`expr 512 \* 1024 \* 1024` * restart kphotoalbum * select Maintenance/Build Thumbnails With the workaround, the thumbnail was generated and the image was displayed. KPhotoAlbum v5.12.0 is able to handle this file without needing the workaround.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/kphotoalbum/-/merge_requests/48
Git commit b679660d3b02a12675a16df1b4d4f4e5c0de2593 by Johannes Zarl-Zierl. Committed on 12/10/2025 at 20:06. Pushed by johanneszarl into branch 'master'. Update Changelog The bugfix is in commit 47a6af5b4fa3a8a99fafa1f1bf65474381a70303. M +1 -0 CHANGELOG.md https://invent.kde.org/graphics/kphotoalbum/-/commit/b679660d3b02a12675a16df1b4d4f4e5c0de2593