Changeset View
Changeset View
Standalone View
Standalone View
libs/pigment/KoColorConversionTransformation.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
75 | * internally (transparently for the user), for example, when | 75 | * internally (transparently for the user), for example, when | ||
76 | * merging heterogeneous images, creating thumbnails, converting | 76 | * merging heterogeneous images, creating thumbnails, converting | ||
77 | * data to/from QImage or while doing some adjustments. We cannot | 77 | * data to/from QImage or while doing some adjustments. We cannot | ||
78 | * ask the user about parameters for every single | 78 | * ask the user about parameters for every single | ||
79 | * conversion. That's why in all these non-critical cases the | 79 | * conversion. That's why in all these non-critical cases the | ||
80 | * following default values should be used. | 80 | * following default values should be used. | ||
81 | */ | 81 | */ | ||
82 | 82 | | |||
83 | static Intent InternalRenderingIntent; | 83 | static Intent internalRenderingIntent() { return IntentPerceptual; } | ||
84 | static ConversionFlags InternalConversionFlags; | 84 | static ConversionFlags internalConversionFlags() { return BlackpointCompensation; } | ||
85 | 85 | | |||
86 | static Intent AdjustmentRenderingIntent; | 86 | static Intent adjustmentRenderingIntent() { return IntentPerceptual; } | ||
87 | static ConversionFlags AdjustmentConversionFlags; | 87 | static ConversionFlags adjustmentConversionFlags() { return ConversionFlags(BlackpointCompensation | NoWhiteOnWhiteFixup); } | ||
88 | 88 | | |||
89 | public: | 89 | public: | ||
90 | KoColorConversionTransformation(const KoColorSpace* srcCs, | 90 | KoColorConversionTransformation(const KoColorSpace* srcCs, | ||
91 | const KoColorSpace* dstCs, | 91 | const KoColorSpace* dstCs, | ||
92 | Intent renderingIntent, | 92 | Intent renderingIntent, | ||
93 | ConversionFlags conversionFlags); | 93 | ConversionFlags conversionFlags); | ||
94 | ~KoColorConversionTransformation(); | 94 | ~KoColorConversionTransformation(); | ||
95 | public: | 95 | public: | ||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |