[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: koffice/krita/kritacolor
From: Cyrille Berger <cyb () lepi ! org>
Date: 2006-01-23 20:59:26
Message-ID: 1138049966.119652.23643.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 501773 by berger:
* use a non-private lcms function to check if a profile support output
CCMAIL: kimageshop@kde.org
M +8 -2 kis_profile.cc
--- trunk/koffice/krita/kritacolor/kis_profile.cc #501772:501773
@@ -107,8 +107,14 @@
m_valid = true;
// Check if the profile can convert (something -> this)
- LPMATSHAPER OutMatShaper = cmsBuildOutputMatrixShaper(m_profile);
- if( OutMatShaper )
+// LPMATSHAPER OutMatShaper = cmsBuildOutputMatrixShaper(m_profile);
+// if( OutMatShaper )
+// {
+// m_suitableForOutput = true;
+// }
+ cmsCIEXYZTRIPLE Primaries;
+
+ if (cmsTakeColorants(&Primaries, m_profile))
{
m_suitableForOutput = true;
}
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic