diff --git a/_imagingcms.c b/_imagingcms.c index 1548769d5..b2903adbf 100644 --- a/_imagingcms.c +++ b/_imagingcms.c @@ -237,7 +237,8 @@ findLCMStype(char* PILmode) return TYPE_YCbCr_8; } else if (strcmp(PILmode, "LAB") == 0) { - return TYPE_Lab_8; + // LabX equvalent like ALab, but not reversed -- no #define in lcms2 + return (COLORSPACE_SH(PT_LabV2)|CHANNELS_SH(3)|BYTES_SH(1)|EXTRA_SH(1)); } else {