26 #ifndef DIGIKAM_ICC_MANAGER_H
27 #define DIGIKAM_ICC_MANAGER_H
40 class DImgLoaderObserver;
60 bool hasValidWorkspace()
const;
61 bool isUncalibratedColor()
const;
62 bool isMissingProfile()
const;
63 bool isProfileMismatch()
const;
70 void transformDefault();
75 void transform(ICCSettingsContainer::Behavior behavior,
80 void transformToSRGB();
85 static bool isSRGB(
const DImg& img);
90 void transformForOutput(
const IccProfile& outputProfile);
100 void transformForDisplay();
101 void transformForDisplay(QWidget*
const widget);
102 void transformForDisplay(
const IccProfile& displayProfile);
104 static IccProfile displayProfile(QWidget*
const displayingWidget =
nullptr);
105 IccTransform displayTransform(QWidget*
const displayingWidget =
nullptr);
111 IccTransform displaySoftProofingTransform(
const IccProfile& deviceProfile, QWidget*
const displayingWidget =
nullptr);
119 static bool needsPostLoadingManagement(
const DImg& img);
125 IccProfile imageProfile(ICCSettingsContainer::Behavior behavior,
131 static void transformToSRGB(QImage& qimage,
const IccProfile& inputProfile);
136 static void transformForDisplay(QImage& qimage,
const IccProfile& displayProfile1 = displayProfile());
140 void getTransform(
IccTransform& trans, ICCSettingsContainer::Behavior behavior,
const IccProfile& specifiedProfile);
141 void setIccProfile(
const IccProfile& profile);
142 ICCSettingsContainer::Behavior safestBestBehavior()
const;
Definition: dimgloaderobserver.h:41
Definition: iccsettingscontainer.h:44
Definition: iccmanager.h:44
Definition: iccprofile.h:43
static IccSettings * instance()
Definition: iccsettings.cpp:40
Definition: datefolderview.cpp:43