mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-18 04:02:25 +03:00
fix comments
This commit is contained in:
parent
c4cd036dd8
commit
f0ae36080c
|
@ -1190,7 +1190,7 @@ class TiffImageFile(ImageFile.ImageFile):
|
||||||
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