SVN commit 502759 by fjcruz:
Code cleanup CCMAIL:[hidden email] M +6 -7 icctransform.cpp --- trunk/extragear/graphics/digikam/libs/dimg/filters/icctransform.cpp #502758:502759 @@ -86,7 +86,6 @@ { d->embedded_profile = image.getICCProfil(); d->has_profile = true; - kdDebug() << "Has profile" << endl; } else { @@ -124,7 +123,6 @@ QString IccTransform::getEmbeddedProfileDescriptor() { -kdDebug() << "First open embedded profile" << endl; cmsHPROFILE tmpProfile = cmsOpenProfileFromMem(d->embedded_profile.data(), (DWORD)d->embedded_profile.size()); QString embeddedProfileDescriptor =QString(cmsTakeProductDesc(tmpProfile)); cmsCloseProfile(tmpProfile); @@ -138,11 +136,8 @@ if (d->has_profile) { - kdDebug() << "Second open embedded profile" << endl; inprofile = cmsOpenProfileFromMem(d->embedded_profile.data(), (DWORD)d->embedded_profile.size()); -// embeddedProfileDescriptor = QString(cmsTakeProductDesc(inprofile)); - kdDebug() << "Embedded profile name: " << cmsTakeProductDesc(inprofile) << endl; } else { @@ -303,13 +298,12 @@ break; } - kdDebug() << "icctransform.cpp/308-Intent is: " << intent << endl; + kdDebug() << "icctransform.cpp/301-Intent is: " << intent << endl; if (!profile.isNull()) { inprofile = cmsOpenProfileFromMem(profile.data(), (DWORD)profile.size()); - kdDebug() << "Embedded desc: " << cmsTakeProductDesc(inprofile) << endl; } else if (useBuiltin) { @@ -320,8 +314,12 @@ inprofile = cmsOpenProfileFromFile(QFile::encodeName( d->input_profile ), "r"); } + kdDebug() << "icctransform.cpp/317-In profile: " << cmsTakeProductName(inprofile) << endl; + outprofile = cmsOpenProfileFromFile(QFile::encodeName( d->output_profile ), "r"); + kdDebug() << "icctransform.cpp/321-Out profile: " << cmsTakeProductName(outprofile) << endl; + if (useBPC) { transformFlags |= cmsFLAGS_WHITEBLACKCOMPENSATION; @@ -377,6 +375,7 @@ else { proofprofile = cmsOpenProfileFromFile(QFile::encodeName( d->proof_profile ), "r"); + kdDebug() << "icctransform.cpp/378-proof profile: " << cmsTakeProductName(proofprofile) << endl; transformFlags |= cmsFLAGS_SOFTPROOFING; if (checkGamut) { _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |