mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 16:52:29 +03:00
BUG: PIL Image array interface has the wrong size for YCbCr
This commit is contained in:
parent
e09ff61b81
commit
bb07471d2e
|
@ -198,7 +198,7 @@ _MODE_CONV = {
|
||||||
"RGBX": ('|u1', 4),
|
"RGBX": ('|u1', 4),
|
||||||
"RGBA": ('|u1', 4),
|
"RGBA": ('|u1', 4),
|
||||||
"CMYK": ('|u1', 4),
|
"CMYK": ('|u1', 4),
|
||||||
"YCbCr": ('|u1', 4),
|
"YCbCr": ('|u1', 3),
|
||||||
}
|
}
|
||||||
|
|
||||||
def _conv_type_shape(im):
|
def _conv_type_shape(im):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user