mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 00:30:33 +03:00
fix comments
This commit is contained in:
parent
c4cd036dd8
commit
f0ae36080c
|
@ -1188,9 +1188,9 @@ class TiffImageFile(ImageFile.ImageFile):
|
|||
|
||||
bps_tuple = self.tag_v2.get(BITSPERSAMPLE, (1,))
|
||||
extra_tuple = self.tag_v2.get(EXTRASAMPLES, ())
|
||||
if photo in (2, 6, 8): # RGB, YCbCr, LAB
|
||||
if photo in (2, 6, 8): # RGB, YCbCr, LAB
|
||||
bps_count = 3
|
||||
elif photo == 5:
|
||||
elif photo == 5: # CMYK
|
||||
bps_count = 4
|
||||
else:
|
||||
bps_count = 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user