mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Merge pull request #56 from cgohlke/patch-4
BUG: PIL Image array interface has the wrong size for YCbCr
This commit is contained in:
commit
d097fa068c
|
@ -198,7 +198,7 @@ _MODE_CONV = {
|
|||
"RGBX": ('|u1', 4),
|
||||
"RGBA": ('|u1', 4),
|
||||
"CMYK": ('|u1', 4),
|
||||
"YCbCr": ('|u1', 4),
|
||||
"YCbCr": ('|u1', 3),
|
||||
}
|
||||
|
||||
def _conv_type_shape(im):
|
||||
|
|
Loading…
Reference in New Issue
Block a user