format including the padding byte

This commit is contained in:
wiredfool 2013-10-15 22:04:22 -07:00
parent 1865a5c438
commit bde4613843

View File

@ -237,7 +237,8 @@ findLCMStype(char* PILmode)
return TYPE_YCbCr_8; return TYPE_YCbCr_8;
} }
else if (strcmp(PILmode, "LAB") == 0) { 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 { else {