fixed use of black-point-compensation parameter (bug #475952).
2007-09-12 Sven Neumann <sven@gimp.org> * plug-ins/common/lcms.c: fixed use of black-point-compensation parameter (bug #475952). svn path=/trunk/; revision=23504
This commit is contained in:
parent
de5184c824
commit
471eed6bab
2 changed files with 11 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-09-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/lcms.c: fixed use of black-point-compensation
|
||||
parameter (bug #475952).
|
||||
|
||||
2007-09-11 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/common/psp.c: don't use "major" and "minor" as variable
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue