[Digikam-devel] extragear/graphics/digikam/libs
Gilles Caulier
caulier.gilles at free.fr
Fri Feb 3 15:40:43 GMT 2006
SVN commit 505304 by cgilles:
digiKam from trunk : BugFix with all RAW files : always enable -q 0 dcraw option by default to be compatible with the last version of dcraw (8.03 actually)
Marcel : there is a problem with RawDecodingSettings instance to use in your threaded IO files implementation. Sometimes the RAW file decoding settings is lost, sometime no. My commit fix any problems, not all. PLease take a look...
CCMAIL: digikam-devel at kde.org, marcel.wiesweg at gmx.de
M +1 -1 dimg/rawdecodingsettings.h
M +12 -5 threadimageio/loadingdescription.h
--- trunk/extragear/graphics/digikam/libs/dimg/rawdecodingsettings.h #505303:505304
@@ -33,7 +33,7 @@
RawDecodingSettings()
{
- enableRAWQuality = false;
+ enableRAWQuality = true;
RAWQuality = 0;
RGBInterpolate4Colors = false;
cameraColorBalance = true;
--- trunk/extragear/graphics/digikam/libs/threadimageio/loadingdescription.h #505303:505304
@@ -24,6 +24,7 @@
// Digikam includes.
#include "dimg.h"
+#include "rawdecodingsettings.h"
#include "digikam_export.h"
namespace Digikam
@@ -32,17 +33,23 @@
class DIGIKAM_EXPORT LoadingDescription
{
public:
- LoadingDescription(const QString &filePath, RawDecodingSettings rawDecodingSettings = RawDecodingSettings())
- : filePath(filePath),rawDecodingSettings(rawDecodingSettings)
+
+ LoadingDescription(const QString &filePath)
+ : filePath(filePath)
+ {
+ rawDecodingSettings = RawDecodingSettings();
+ };
+
+ LoadingDescription(const QString &filePath, RawDecodingSettings settings)
+ : filePath(filePath), rawDecodingSettings(settings)
{};
- QString filePath;
+
+ QString filePath;
RawDecodingSettings rawDecodingSettings;
bool operator==(const LoadingDescription &other);
};
-
} // namespace Digikam
-
#endif // LOADING_DESCRIPTION_H
More information about the Digikam-devel
mailing list