diff --git a/ChangeLog b/ChangeLog index 57105fad3d..04478c3286 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-12 Sven Neumann + + * plug-ins/common/lcms.c: fixed use of black-point-compensation + parameter (bug #475952). + 2007-09-11 Manish Singh * plug-ins/common/psp.c: don't use "major" and "minor" as variable diff --git a/plug-ins/common/lcms.c b/plug-ins/common/lcms.c index 87c458916d..35f2363e5a 100644 --- a/plug-ins/common/lcms.c +++ b/plug-ins/common/lcms.c @@ -935,7 +935,10 @@ lcms_image_transform_rgb (gint32 image, transform = cmsCreateTransform (src_profile, format, dest_profile, format, - intent, bpc); + intent, + bpc ? + cmsFLAGS_WHITEBLACKCOMPENSATION : 0); + last_format = format; } @@ -974,7 +977,8 @@ lcms_image_transform_indexed (gint32 image, transform = cmsCreateTransform (src_profile, TYPE_RGB_8, dest_profile, TYPE_RGB_8, - intent, bpc); + intent, + bpc ? cmsFLAGS_WHITEBLACKCOMPENSATION : 0); if (transform) {