createprofile

This commit is contained in:
wiredfool 2013-10-01 22:22:56 -07:00
parent db4f11a05c
commit a2fd0e99e2

View File

@ -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) {