[Digikam-devel] [digikam] [Bug 314260] Large .tif files are not loaded

Gilles Caulier caulier.gilles at gmail.com
Fri Feb 22 13:14:35 GMT 2013


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

--- Comment #11 from Gilles Caulier <caulier.gilles at gmail.com> ---
Git commit b29bbdfd46df01dccac6058a7a2860cd84026caa by Gilles Caulier.
Committed on 22/02/2013 at 14:07.
Pushed by cgilles into branch 'master'.

new behavor about KMemoryInfo:
Check if memory info from current platform is supported or not (for ex, MacOSX
is not support)
If not, -1 is returned from memory parser. In this case, digiKam will try to
continue to allocate memory. An error message is printed to the console as
debug statement.
If yes, we try to check memory info. If an error occur, 0 is returned, else 1.

This will solve multiple issues from bugzilla about non show large images in
preview or editor, if memory allocation to store decompressed pixels data is
more than 100Mb
Related: bug 303217

M  +6    -6    libs/3rdparty/kmemoryinfo/kmemoryinfo.cpp
M  +5    -2    libs/3rdparty/kmemoryinfo/kmemoryinfo.h
M  +80   -44   libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp
M  +10   -3    libs/dimg/loaders/dimgloader.cpp
M  +15   -2    libs/dimg/loaders/dimgloader.h

http://commits.kde.org/digikam/b29bbdfd46df01dccac6058a7a2860cd84026caa

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list