mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
format including the padding byte
This commit is contained in:
parent
1865a5c438
commit
bde4613843
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user