[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/modules
From: Casper Boemann <cbr () boemann ! dk>
Date: 2005-09-25 20:37:37
Message-ID: 1127680657.896596.11358.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 463957 by boemann:
let the brightness/contrast adjustments be truly
colorspace independent.
They don't assume sRGB anymore
Should however be moved to a baseclass at some
point.
M +2 -2 rgb_u16/kis_rgb_u16_colorspace.cc
M +2 -2 rgb_u8/kis_rgb_colorspace.cc
--- trunk/koffice/krita/modules/rgb_u16/kis_rgb_u16_colorspace.cc #463956:463957
@@ -214,8 +214,8 @@
adj->profiles[1] = cmsCreateLinearizationDeviceLink(icSigLabData, \
transferFunctions); cmsSetDeviceClass(adj->profiles[1], icSigAbstractClass);
- adj->profiles[0] = cmsCreate_sRGBProfile();
- adj->profiles[2] = cmsCreate_sRGBProfile();
+ adj->profiles[0] = m_profile->profile();
+ adj->profiles[2] = m_profile->profile();
adj->transform = cmsCreateMultiprofileTransform(adj->profiles, 3, TYPE_BGRA_16, \
TYPE_BGRA_16, INTENT_PERCEPTUAL, 0);
return adj;
--- trunk/koffice/krita/modules/rgb_u8/kis_rgb_colorspace.cc #463956:463957
@@ -263,8 +263,8 @@
adj->profiles[1] = cmsCreateLinearizationDeviceLink(icSigLabData, \
transferFunctions); cmsSetDeviceClass(adj->profiles[1], icSigAbstractClass);
- adj->profiles[0] = cmsCreate_sRGBProfile();
- adj->profiles[2] = cmsCreate_sRGBProfile();
+ adj->profiles[0] = m_profile->profile();
+ adj->profiles[2] = m_profile->profile();
adj->transform = cmsCreateMultiprofileTransform(adj->profiles, 3, TYPE_BGRA_8, \
TYPE_BGRA_8, INTENT_PERCEPTUAL, 0);
return adj;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic