[Digikam-devel] extragear/graphics/digikam/utilities/imageeditor/tools
Francisco J. Cruz
fj.cruz at supercable.es
Wed Feb 8 21:38:15 GMT 2006
SVN commit 507273 by fjcruz:
If the image to print has an icc profile embedded, this one is used to apply the printer profile.
CCMAIL:digikam-devel at kde.org
M +10 -1 imageprint.cpp
--- trunk/extragear/graphics/digikam/utilities/imageeditor/tools/imageprint.cpp #507272:507273
@@ -278,7 +278,16 @@
IccTransform *transform = new IccTransform();
readSettings();
- transform->setProfiles( m_inProfilePath, m_outputProfilePath );
+ if (m_image.getICCProfil().isNull())
+ {
+ transform->setProfiles( m_inProfilePath, m_outputProfilePath );
+ }
+ else
+ {
+ transform->setProfiles(m_outputProfilePath);
+ }
+
+
transform->apply( m_image );
}
More information about the Digikam-devel
mailing list