mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +03:00
createprofile
This commit is contained in:
parent
db4f11a05c
commit
a2fd0e99e2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user