Revision b29bbdf...
Go back to digest for 24th February 2013Features in Graphics
Gilles Caulier committed changes in [digikam] /:
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
CC
File Changes
Modified 5 files
- libs/3rdparty/kmemoryinfo/kmemoryinfo.cpp
- libs/3rdparty/kmemoryinfo/kmemoryinfo.h
- libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp
- libs/dimg/loaders/dimgloader.cpp
- libs/dimg/loaders/dimgloader.h
5 files changed in total