mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
Added comment [ci skip]
This commit is contained in:
parent
ff6ca4159a
commit
4f9118bdbd
|
@ -206,6 +206,9 @@ class Jpeg2KImageFile(ImageFile.ImageFile):
|
|||
|
||||
@property
|
||||
def reduce(self):
|
||||
# https://github.com/python-pillow/Pillow/issues/4343 found that the
|
||||
# new Image 'reduce' method was shadowed by this plugin's 'reduce'
|
||||
# property. This attempts to allow for both scenarios
|
||||
return self._reduce or super().reduce
|
||||
|
||||
@reduce.setter
|
||||
|
|
Loading…
Reference in New Issue
Block a user