mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +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;
|
||||
}
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user