https://bugs.kde.org/show_bug.cgi?id=492503

--- Comment #3 from Alex <kdeb...@cubelike.com> ---
So, seems like a workaround for this is to set the QT_IMAGEIO_MAXALLOC
environment variable according to https://doc.qt.io/qt-6/qimagereader.html. 
Doing:

$ export QT_IMAGEIO_MAXALLOC=8192
$ kolourpaint 

allows me to open large files again (8192MiB may be overkill for my needs
currently, but you get the point you can define an arbitrary value).

Seems like the fix would be for  kolourpaint to set
QImageReader::setAllocationLimit(0).

Amusingly, the preview that shows up in the File -> Open dialog works
regardless of what limit is set, so maybe the above is already done for that.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to