Merge pull request #56 from cgohlke/patch-4

BUG: PIL Image array interface has the wrong size for YCbCr
This commit is contained in:
Alex Clark ☺ 2013-03-05 12:02:05 -08:00
commit d097fa068c

View File

@ -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):