From a2fd0e99e2c6bb2ff986701c15dc34e859474536 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Tue, 1 Oct 2013 22:22:56 -0700 Subject: [PATCH] createprofile --- _imagingcms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_imagingcms.c b/_imagingcms.c index 1c85523ac..3dbe21198 100644 --- a/_imagingcms.c +++ b/_imagingcms.c @@ -406,9 +406,9 @@ createProfile(PyObject *self, PyObject *args) PyErr_SetString(PyExc_ValueError, "ERROR: Could not calculate white point from color temperature provided, must be float in degrees Kelvin"); return NULL; } - hProfile = cmsCreateLabProfile(whitePoint); + hProfile = cmsCreateLab2Profile(whitePoint); } else { - hProfile = cmsCreateLabProfile(NULL); + hProfile = cmsCreateLab2Profile(NULL); } } else if (strcmp(sColorSpace, "XYZ") == 0) {