mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-17 19:52:35 +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,))
|
bps_tuple = self.tag_v2.get(BITSPERSAMPLE, (1,))
|
||||||
extra_tuple = self.tag_v2.get(EXTRASAMPLES, ())
|
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
|
bps_count = 3
|
||||||
elif photo == 5:
|
elif photo == 5: # CMYK
|
||||||
bps_count = 4
|
bps_count = 4
|
||||||
else:
|
else:
|
||||||
bps_count = 1
|
bps_count = 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user